19 October, 2020

Docker install in UBUNTU log details

Docker install in UBUNTU log details



login as: rnd

rnd@192.168.0.40's password:

Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-121-generic x86_64)


 * Documentation:  https://help.ubuntu.com

 * Management:     https://landscape.canonical.com

 * Support:        https://ubuntu.com/advantage


  System information as of Mon Oct 19 17:07:18 UTC 2020


  System load:    0.13              Processes:             132

  Usage of /home: 0.4% of 19.56GB   Users logged in:       1

  Memory usage:   4%                IP address for enp2s0: 192.168.0.40

  Swap usage:     0%


 * Introducing autonomous high availability clustering for MicroK8s

   production environments! Super simple clustering, hardened Kubernetes,

   with automatic data store operations. A zero-ops HA K8s for anywhere.


     https://microk8s.io/high-availability


15 packages can be updated.

0 updates are security updates.


New release '20.04.1 LTS' available.

Run 'do-release-upgrade' to upgrade to it.



*** System restart required ***

Last login: Mon Oct 19 16:08:27 2020 from 27.147.142.57

rnd@rnd:~$ sudo apt-get update

[sudo] password for rnd:

Hit:1 http://ppa.launchpad.net/x2go/stable/ubuntu bionic InRelease

Hit:2 http://bd.archive.ubuntu.com/ubuntu bionic InRelease

Get:3 http://bd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]

Get:4 http://bd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]

Get:5 http://bd.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]

Get:6 http://bd.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages                                                                                         [1678 kB]

Get:7 http://bd.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en                                                                                         [353 kB]

Fetched 2283 kB in 4s (567 kB/s)

Reading package lists... Done

rnd@rnd:~$ sudo apt-get install \

>     apt-transport-https \

>     ca-certificates \

>     curl \

>     gnupg-agent \

>     software-properties-common

Reading package lists... Done

Building dependency tree

Reading state information... Done

ca-certificates is already the newest version (20190110~18.04.1).

ca-certificates set to manually installed.

curl is already the newest version (7.58.0-2ubuntu3.10).

curl set to manually installed.

software-properties-common is already the newest version (0.96.24.32.14).

software-properties-common set to manually installed.

The following NEW packages will be installed:

  apt-transport-https gnupg-agent

0 upgraded, 2 newly installed, 0 to remove and 15 not upgraded.

Need to get 6568 B of archives.

After this operation, 196 kB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 http://bd.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-tran                                                                                        sport-https all 1.6.12ubuntu0.1 [1692 B]

Get:2 http://bd.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gnupg-ag                                                                                        ent all 2.2.4-1ubuntu1.3 [4876 B]

Fetched 6568 B in 1s (10.2 kB/s)

Selecting previously unselected package apt-transport-https.

(Reading database ... 202202 files and directories currently installed.)

Preparing to unpack .../apt-transport-https_1.6.12ubuntu0.1_all.deb ...

Unpacking apt-transport-https (1.6.12ubuntu0.1) ...

Selecting previously unselected package gnupg-agent.

Preparing to unpack .../gnupg-agent_2.2.4-1ubuntu1.3_all.deb ...

Unpacking gnupg-agent (2.2.4-1ubuntu1.3) ...

Setting up apt-transport-https (1.6.12ubuntu0.1) ...

Setting up gnupg-agent (2.2.4-1ubuntu1.3) ...

rnd@rnd:~$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-ke                                                                                        y add -

OK

rnd@rnd:~$ sudo apt-key fingerprint 0EBFCD88

pub   rsa4096 2017-02-22 [SCEA]

      9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88

uid           [ unknown] Docker Release (CE deb) <docker@docker.com>

sub   rsa4096 2017-02-22 [S]


rnd@rnd:~$ sudo add-apt-repository \

>    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \

>    $(lsb_release -cs) \

>    stable"

Get:1 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]

Hit:2 http://ppa.launchpad.net/x2go/stable/ubuntu bionic InRelease

Get:3 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [13.                                                                                        0 kB]

Hit:4 http://bd.archive.ubuntu.com/ubuntu bionic InRelease

Hit:5 http://bd.archive.ubuntu.com/ubuntu bionic-updates InRelease

Get:6 http://bd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]

Get:7 http://bd.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]

Fetched 241 kB in 2s (113 kB/s)

Reading package lists... Done

rnd@rnd:~$ sudo apt-get install docker-ce docker-ce-cli containerd.io

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following additional packages will be installed:

  aufs-tools cgroupfs-mount pigz

The following NEW packages will be installed:

  aufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli pigz

0 upgraded, 6 newly installed, 0 to remove and 15 not upgraded.

Need to get 91.2 MB of archives.

After this operation, 410 MB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 https://download.docker.com/linux/ubuntu bionic/stable amd64 containerd.io                                                                                         amd64 1.3.7-1 [24.4 MB]

Get:2 http://bd.archive.ubuntu.com/ubuntu bionic/universe amd64 pigz amd64 2.4-1                                                                                         [57.4 kB]

Get:3 http://bd.archive.ubuntu.com/ubuntu bionic/universe amd64 aufs-tools amd64                                                                                         1:4.9+20170918-1ubuntu1 [104 kB]

Get:4 http://bd.archive.ubuntu.com/ubuntu bionic/universe amd64 cgroupfs-mount a                                                                                        ll 1.4 [6320 B]

Get:5 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-cli                                                                                         amd64 5:19.03.13~3-0~ubuntu-bionic [44.2 MB]

Get:6 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd                                                                                        64 5:19.03.13~3-0~ubuntu-bionic [22.5 MB]

Fetched 91.2 MB in 31s (2974 kB/s)

Selecting previously unselected package pigz.

(Reading database ... 202210 files and directories currently installed.)

Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...

Unpacking pigz (2.4-1) ...

Selecting previously unselected package aufs-tools.

Preparing to unpack .../1-aufs-tools_1%3a4.9+20170918-1ubuntu1_amd64.deb ...

Unpacking aufs-tools (1:4.9+20170918-1ubuntu1) ...

Selecting previously unselected package cgroupfs-mount.

Preparing to unpack .../2-cgroupfs-mount_1.4_all.deb ...

Unpacking cgroupfs-mount (1.4) ...

Selecting previously unselected package containerd.io.

Preparing to unpack .../3-containerd.io_1.3.7-1_amd64.deb ...

Unpacking containerd.io (1.3.7-1) ...

Selecting previously unselected package docker-ce-cli.

Preparing to unpack .../4-docker-ce-cli_5%3a19.03.13~3-0~ubuntu-bionic_amd64.deb                                                                                         ...

Unpacking docker-ce-cli (5:19.03.13~3-0~ubuntu-bionic) ...

Selecting previously unselected package docker-ce.

Preparing to unpack .../5-docker-ce_5%3a19.03.13~3-0~ubuntu-bionic_amd64.deb ...

Unpacking docker-ce (5:19.03.13~3-0~ubuntu-bionic) ...

Setting up aufs-tools (1:4.9+20170918-1ubuntu1) ...

Setting up containerd.io (1.3.7-1) ...

Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service →                                                                                         /lib/systemd/system/containerd.service.

Setting up cgroupfs-mount (1.4) ...

Setting up docker-ce-cli (5:19.03.13~3-0~ubuntu-bionic) ...

Setting up pigz (2.4-1) ...

Setting up docker-ce (5:19.03.13~3-0~ubuntu-bionic) ...

Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /li                                                                                        b/systemd/system/docker.service.

Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/sy                                                                                        stemd/system/docker.socket.

Processing triggers for libc-bin (2.27-3ubuntu1.2) ...

Processing triggers for systemd (237-3ubuntu10.42) ...

Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Processing triggers for ureadahead (0.100.0-21) ...

rnd@rnd:~$ apt-cache madison docker-ce | 5:18.09.1~3-0~ubuntu-xenial | https://d                                                                                        ownload.docker.com/linux/ubuntu  xenial/stable amd64 Packages

-bash: https://download.docker.com/linux/ubuntu: No such file or directory

5:18.09.1~3-0~ubuntu-xenial: command not found

rnd@rnd:~$ sudo apt-get install docker-ce=5:18.09.9~3–0~ubuntu-bionic docker-ce-                                                                                        cli=5:18.09.9~3–0~ubuntu-bionic containerd.io

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Version '5:18.09.9~3–0~ubuntu-bionic' for 'docker-ce' was not found

E: Version '5:18.09.9~3–0~ubuntu-bionic' for 'docker-ce-cli' was not found

rnd@rnd:~$ sudo docker run hello-world

Unable to find image 'hello-world:latest' locally

latest: Pulling from library/hello-world

0e03bdcc26d7: Pull complete

Digest: sha256:8c5aeeb6a5f3ba4883347d3747a7249f491766ca1caa47e5da5dfcf6b9b717c0

Status: Downloaded newer image for hello-world:latest


Hello from Docker!

This message shows that your installation appears to be working correctly.


To generate this message, Docker took the following steps:

 1. The Docker client contacted the Docker daemon.

 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.

    (amd64)

 3. The Docker daemon created a new container from that image which runs the

    executable that produces the output you are currently reading.

 4. The Docker daemon streamed that output to the Docker client, which sent it

    to your terminal.


To try something more ambitious, you can run an Ubuntu container with:

 $ docker run -it ubuntu bash


Share images, automate workflows, and more with a free Docker ID:

 https://hub.docker.com/


For more examples and ideas, visit:

 https://docs.docker.com/get-started/


Share: