Setup docker in Linux Mint 20



 Setup docker in Linux Mint 20 ( Command sequence)

===============================


sudo apt-get update

sud apt-get upgrade

sudo apt install docker.io -y

sudo systemctl start docker

sudo systemctl enable docker

sudo systemctl status docker

sudo reboot 

sudo systemctl status docker # ensure that the docker is running after reboot 


docker -v

sudo docker run hello-world


sudo apt install docker-compose -y

docker-compose -v


docker container ls

#(if you get permission error execute the following commands)


sudo groupadd docker

sudo gpasswd -a ${USER} docker

su - $USER

sudo reboot 

docker container ls

Comments

Popular posts from this blog

Fedora 32 Setting up Citrix workspace client

Probing element in app.config + Post build event to copy multiple files

List of useful tools(Must have tools/Application)