0% found this document useful (0 votes)
7 views

005 cmd

Uploaded by

Arun Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

005 cmd

Uploaded by

Arun Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Docker Installation:

$ sudo apt update


$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
$ echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' |
sudo tee /etc/apt/sources.list.d/docker.list
$ sudo apt update
$ sudo apt remove docker docker-engine docker.io
$ sudo apt install docker-ce -y
$ sudo systemctl start docker
$ sudo systemctl enable Docker
$ sudo Docker run hello-world

Run:
Docker hub.docker.com
Docker pull
Docker helloWorld
Docker remove image rmi, remove container rm
Simple Run: docker run --name [container_name] -itd [repository_image] /bin/bash
sudo docker exec -it [container_name] /bin/bash
Customized create: docker create --name docker2 -p 2222:22 -it [container_name]
/bin/bash
Docker start dockorized_LIN, docker stop dockorized_LIN
Docker ps, docker rm -f
Docker cp

You might also like