...
2- download an image
3- creating a Dockerfile
Learn Docker in 12 Minutes:
https://www.youtube.com/watch?v=YFl2mCHdv24
Get Docker for Ubuntu
https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
https://computingforgeeks.com/how-to-install-docker-on-ubuntu/
1a- check the releaseme@ubuntu:~$ lsb_release -a ( or more /etc/lsb-release ) No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.10 Release: 16.10 Codename: yakkety | |
1b- remove all docker installation#sudo apt-get remove docker docker-engine | |
1c- update all package + Install important |
...
packagessudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common | |
1d- Add Docker’s official GPG key:curl -fsSL <DOCKER-EE-URL>/gpg | sudo apt-key add - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - >> the output is just "OK" Verify that the key fingerprint is DD91 1E99 5A64 A202 E859 07D6 BC14 F10B 6D08 5F96. apt-key fingerprint 0EBFCD88 pub 4096R/0EBFCD88 2017-02-22 Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88 uid Docker Release (CE deb) <docker@docker.com> sub 4096R/F273FCD8 2017-02-22 | |
1e- set up the stable repository ( Debian or Ubuntu )sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release -cs) \ stable" or sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" | |
1f- update all package + Install dockersudo apt-get update apt-get install docker-ce | |
Learn Docker in 12 Minutes:
https://www.youtube.com/watch?v=YFl2mCHdv24
Get Docker for Ubuntu
https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
https://computingforgeeks.com/how-to-install-docker-on-ubuntu/
1g- check the installed docker version
...