Install Docker Engine - Community
=================================
ref: https://docs.docker.com/install/linux/docker-ce/ubuntu/
ref: https://docs.docker.com/install/linux/linux-postinstall/
$ sudo apt-get update # update the apt package index:
$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent # install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get install software-properties-common # install packages to allow apt to use a repository over HTTPS:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # add Docker’s official GPG key:
$ sudo apt-key fingerprint 0EBFCD88 # verify that you now have the key with the fingerprint ...
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # set up the stable repository
$ sudo apt-get update # update/refresh the apt package index:
$ sudo apt-get install docker-ce docker-ce-cli containerd.io # install the latest version of Docker Engine
$ sudo docker run hello-world # verify the Docker Engine installation
$ sudo groupadd docker # create the docker group if not already present
$ sudo usermod -aG docker $USER # add your user to the docker group
$ newgrp docker # activate the changes to groups:
$ docker run hello-world # verify the Docker Engine installation without sudo
$ sudo systemctl enable docker # configure Docker to start on boot
Wednesday, March 25. 2020
Dock Cheat Sheets - Ubuntu 18.04 Fast Docker Installation
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Savršene slike! Mogu li podijeliti neke od njih? [url="https://www.croatialuxuryrent.com/hr"]vile[/url]
#1
Pasquale Sukovaty
(Homepage)
on
2020-03-26 10:45
(Reply)