Docker
sudo apt-get install dockerhttps://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue
Docker pull got denied
Docker documentation does not work well on Ubuntu, suspect the version of the current documentation no longer support LTS 18.04.
Every command executed here will add sudo at the beginning
sudo docker run hello-world
sudo docker search ubuntu //Long response time
sudo docker pull ubuntu:20.04 //Long response time
sudo docker run -it ubuntu:20.04 bash
CTRL-p CTRL-q key sequence to detach a container
CTRL-c key sequence to stop a container
sudo docker ps -a // check container status
sudo docker start <CONTAINER ID>
sudo docker stop <CONTAINER ID>
sudo docker exec -it <container ID> /bin/sh
bash
New User setup
adduser <username>
su - <username>
Have the docker fully setup? Some food for thoughts?
ssh -v -L 5901:localhost:5901 nvidia@129.97.181.162
docker run -dt --rm --name vnc_ubuntu -p 5901:5901 vnc_ubuntu
docker exec -ti vnc_ubuntu /bin/bash
./start-vnc.sh #in /app
https://medium.com/@gustav0.lewin/how-to-make-a-docker-container-with-vnc-access-f607958141ae