...
Docker requires root privileges. If a non-root user wants to use it without using sudo, add that user to the docker group.
1
...
Docker installation
Docker provides a script scripts that installs install a Docker package depending on the type of Linux distribution.
Code Block | ||
---|---|---|
| ||
# sudo wget -qO- http://get.docker.com/ | sh or # curl -fsSL https://get.docker.com/ | sudo sh |
2 Check Docker installation
When the installation is complete check the using the docker version.
Code Block | ||
---|---|---|
| ||
# docker versionClient: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 05:29:11 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 05:27:45 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683 |