(original)
...
Code Block |
---|
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
...
Verify that the Docker Engine installation is successful by running the
hello-world
image.Code Block $ sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
...
sudo usermod -aG docker [non-root user]
Tip: “whoami” returns current username
but, “docker” group is only for sudo…. (help) so in your user
...