Docker

sudo apt-get install docker

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

 

Have the docker fully setup? Some food for thoughts?