Sebastian Castro Yang
06/07/2024, 5:00 PMChetanya Goyal
06/07/2024, 6:38 PMChetanya Goyal
06/07/2024, 6:41 PMxhost +local:docker
and sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=${DISPLAY} -v $(pwd):$(pwd) -w $(pwd) --network host --name {container_nam_here} -it {image_name_her}
Sebastian Castro Yang
06/07/2024, 6:57 PMSebastian Castro Yang
06/07/2024, 7:04 PMsudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=${DISPLAY} -v $(pwd):$(pwd) -w $(pwd) --network host -it openfasoc:glayout
. Due to I already had a container running under the name of glayoutcontainer
.Sebastian Castro Yang
06/07/2024, 8:03 PMsudo docker ps
to check all the running containers, and then use sudo docker exec -it {my_container_name} /bin/bash
to access it.Chetanya Goyal
06/07/2024, 8:05 PMsudo docker run --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=${DISPLAY} -v $(pwd):$(pwd) -w $(pwd) --network host -it {image_name_her}
the --rm
flag deletes the container on exitSebastian Castro Yang
06/07/2024, 8:13 PM