Click to Flip Card
Install Docker
How can you install Docker on a system without a full OS? What commands are used to update and install Docker? How can you check the installed Docker version?
Install
Docker containers don't require their own full OS (as VM).
sudo apt-get update
sudo apt-get install docker.io
sudo docker --version
# Docker version 20.10.12
docker version
# Client:
# Version: 20.10.12
# API version: 1.41
#
# Server:
# Engine:
# Version: 20.10.12
If the user doesn't have permission to access the daemon.
sudo usermod -aG docker catalin
# logout and login
Last update: 125 days ago