Docker installation
Ubuntu installation
Section titled “Ubuntu installation”apt-get install docker.iothen start it
systemctl start dockerAdd a user to the docker group so it will have access to the docker daemon. Note that this effectively gives root
access on the host to the given user.
Verify connectivity
Section titled “Verify connectivity”As the user, check connectivity to the docker server using the docker cli.
Run docker system info.
$ docker system infoClient: Debug Mode: false
Server: Containers: 14 Running: 2 Paused: 0 Stopped: 12 Images: 193 Server Version: 19.03.6 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: runc version: init version: Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-101-generic Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 6 Total Memory: 3.851GiB Name: sandbox61 ID: 3NVQ:EAWW:WBOT:W5L3:XZAG:G5GB:YUEV:SQOZ:XJGX:VRIU:GQOQ:TGEH Docker Root Dir: /var/lib/docker Debug Mode: false Username: jurnho Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
WARNING: No swap limit support