Docker installation

Published: Wednesday, 1 July 2020

Ubuntu installation

apt-get install

then start it

systemctl start docker

Add 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

As the user, check connectivity to the docker server using the docker cli.

Run docker system info.

$ docker system info
 Debug Mode: false

 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
  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:
   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
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: jurnho
 Experimental: false
 Insecure Registries:
 Live Restore Enabled: false

WARNING: No swap limit support