Dockerコンテナ内でgnome-terminalの実行を試みるも以下の通りエラー
# gnome-terminal -e "python3 test.py"
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process “dbus-launch” (No such file or directory)
dbus-x11をインストールして解決
sudo apt-get install -y dbus-x11
gnome-terminalがない場合は以下でインストール可能
sudo apt-get install -y gnome-terminal