Installing Docker On Ubuntu Linux
Quote from A1 Computers on January 13, 2023, 11:07 am
Install Docker Engine, containerd, and Docker Compose.
To install the latest version, run:
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Verify that the Docker Engine installation is successful by running the
hello-worldimage:$ sudo docker run hello-worldThis command downloads a test image and runs it in a container. When the
container runs, it prints a confirmation message and exits.You have now successfully installed and started Docker Engine. The
dockeruser
group exists but contains no users, which is why you’re required to usesudoto
run Docker commands. Continue to Linux
post-install to allow non-privileged users to run Docker
commands and for other optional configuration steps.
-
Install Docker Engine, containerd, and Docker Compose.
To install the latest version, run:
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
-
Verify that the Docker Engine installation is successful by running the
hello-worldimage:$ sudo docker run hello-worldThis command downloads a test image and runs it in a container. When the
container runs, it prints a confirmation message and exits.
You have now successfully installed and started Docker Engine. The docker user
group exists but contains no users, which is why you’re required to use sudo to
run Docker commands. Continue to Linux
post-install to allow non-privileged users to run Docker
commands and for other optional configuration steps.

![ubuntu-linux[1]](http://a1computers.net/wp-content/uploads/2018/11/ubuntu-linux1.jpg)