Verify Docker Installation on Ubuntu

Q

How to Verify Docker Installation on Ubuntu?

✍: FYIcenter.com

A

You can follow this tutorial to verify Docker Installation on Ubuntu.

1. Make sure the Docker Engine is running

$ ps -ef | grep docker
root      1707     1  0     00:00:17 /usr/bin/dockerd -H fd://
root     20591  1563  0     00:00:00 containerd-shim -namespace moby \ 
   -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby\
   /e744e7509b1301b967c04d42dd57a9e69a540e48dab83d893971f2554c624191 \
   -address /run/containerd/containerd.sock -containerd-binary \
   /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc

2. Check Docker CLI version:

$ docker --version

Docker version 18.09.2, build 6247962

3. Check Docker Engine status with Docker CLI:

$ docker info

Containers: 0
Images: 5
Server Version: 18.09.2
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host 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
Operating System: Ubuntu 18.04.2 LTS
...
Docker Root Dir: /var/lib/docker
Registry: https://index.docker.io/v1/
Product License: Community Engine

Everything looks good.

 

"docker run hello-world" Test on Ubuntu

Install Docker CE Using Hyperledger Script

Docker CE on Ubuntu

⇑⇑ Docker Container Platform - Tutorials

2019-05-20, 192👍, 0💬