Verify Docker Engine on Ubuntu

Q

How to verify Docker Engine on Ubuntu?

✍: FYIcenter.com

A

Hyperledger Fabric framework runs on Docker Engine. So it is important to verify that Docker Engine is running correctly on your local Ubuntu system. Here are some suggestions on how to verify the Docker Engine.

1. Verify version of the Docker Engine and make sure it is running as a background process (daemon):

$ docker --version

Docker version 18.09.2, build 6247962

$ ps -e | grep dockerd
17939 ?        00:39:58 dockerd

2. Check the status of the Docker Engine background process:

$ sudo systemctl status docker

● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e
   Active: active (running) since Thu 2019-03-31 16:58:03 UTC; 3 days
     Docs: https://docs.docker.com
 Main PID: 17939 (dockerd)
    Tasks: 18
   CGroup: /system.slice/docker.service
           └─17939 /usr/bin/dockerd -H fd://

Apr 01 23:21:32 fyicenter dockerd[17939]: time="2019-04-01T23:21:32.93014545
Apr 01 23:21:37 fyicenter dockerd[17939]: time="2019-04-01T23:21:37.18906525
Apr 01 23:21:37 fyicenter dockerd[17939]: time="2019-04-01T23:21:37.22520515
Apr 01 23:21:42 fyicenter dockerd[17939]: time="2019-04-01T23:21:42.53968109
Apr 01 23:21:42 fyicenter dockerd[17939]: time="2019-04-01T23:21:42.86136895
Apr 02 00:38:29 fyicenter dockerd[17939]: time="2019-04-02T00:38:29.25030892
Apr 02 00:38:34 fyicenter dockerd[17939]: time="2019-04-02T00:38:34.53946161
Apr 02 00:38:34 fyicenter dockerd[17939]: time="2019-04-02T00:38:34.62530047
Apr 02 00:38:38 fyicenter dockerd[17939]: time="2019-04-02T00:38:38.27242303
Apr 02 00:38:38 fyicenter dockerd[17939]: time="2019-04-02T00:38:38.60029963

 

Build and Run "Hello" Go Program

Install Hyperledger Fabric Prerequisites on Ubuntu

Hyperledger Fabric Environment on Ubuntu

⇑⇑ Hyperledger Tutorials

2020-05-15, 1046🔥, 0💬