Docker Community Forums

Share and learn in the Docker community.

Running xterm terminal on docker container on ubuntu 18.04

I am new to docker and I have docker containers running on Ubuntu 18.04 os. Is it possible for me to run the xterm terminal on a docker container and proceed to set IP addresses and do simple tests using commands like iperf

Step 1
sudo apt-get update -y
Step 2
sudo apt-get install -y xterm
Step 3
Check the system logs to confirm that there are no related errors. You can use ZoomAdmin to check the logs, manager servers, host multiple websites and apps on your servers and more. The apps run in docker containers, to learn more
see ZoomAdmin Features for list of features and demo videos. And you can start with the Free Plan.
Execute the commands above step by step. You can simply hit the copy button to copy the command and paste into the command line interface.
Note: -y flag means to assume yes and silently install, without asking you questions in most cases.

HI lewish95,

I did include xterm as above while building the docker image but I still cant use xterm inside the docker container for that image. error: command not found