*Launch a container on docker in GUI mode*

Rohit Dhore
May 31, 2021

--

*Launch a container on docker in GUI mode*

Arth Task 3 :-

π“πšπ¬π€ πƒπžπ¬πœπ«π’π©π­π’π¨π§ πŸ“„

1. Launch a container on docker in GUI mode

2. Run any GUI software on the container

1. Run / Launch a new image which environment set display mode as net host

(i)Here, env- env is a shell command for Unix and Unix-like operating systems. It is Execute utility after modifying the environment as specified on the command line.

(ii)net=host- net=host option to the docker create or docker run commands, Docker uses the host’s network stack for the container. The network configuration of the container is the same as that of the host and the container shares the service ports that are available to the host.

2. Install Firefox

β€œYum install firefox”

3. Run firefox

--

--

No responses yet