Docker Community Forums

Share and learn in the Docker community.

New install on Debian and Ubuntu

Hello, there doesn’t seem to be a Linux section unless I am missing it.

*** Issue type** Installation
*** OS Version/build** Tried Debian 9.13 and Ubuntu 16.04
*** App version**
*** Steps to reproduce** Installation guide from your site and a guide from digitalocean

Ign:1 http://debian.mirror.serveriai.lt/debian stretch InRelease
Hit:2 http://debian.mirror.serveriai.lt/debian stretch Release
Hit:3 http://security.debian.org stretch/updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
jinx13@3dqv:~$ sudo apt-get remove docker docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
jinx13@3dqv:~$ sudo apt install apt-transport-https \ ca-certificates \ curl \ software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package  ca-certificates
E: Unable to locate package  curl
E: Unable to locate package  software-properties-common
jinx13@3dqv:~$ sudo apt-get install apt-transport-https \ ca-certificates \ curl \ software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package  ca-certificates
E: Unable to locate package  curl
E: Unable to locate package  software-properties-common
jinx13@3dqv:~$ E: Unable to locate package  ca-certificates^C
jinx13@3dqv:~$ sudo apt update
Ign:1 http://debian.mirror.serveriai.lt/debian stretch InRelease
Hit:2 http://debian.mirror.serveriai.lt/debian stretch Release
Hit:3 http://security.debian.org stretch/updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
jinx13@3dqv:~$ sudo apt-get install apt-transport-https \ ca-certificates \ curl \ software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package  ca-certificates
E: Unable to locate package  curl
E: Unable to locate package  software-properties-common
jinx13@3dqv:~$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.4.11).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jinx13@3dqv:~$ sudo apt-get install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20200601~deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jinx13@3dqv:~$ sudo apt-get install software-properties-common                                                                                                          Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.20.2-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jinx13@3dqv:~$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo ap t-key add - OK
jinx13@3dqv:~$ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
Error: ' deb [arch=amd64] https://download.docker.com/linux/ubuntu \ stretch \ stable' invalid
jinx13@3dqv:~$ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
Error: ' deb [arch=amd64] https://download.docker.com/linux/ubuntu \ stretch \ stable' invalid
jinx13@3dqv:~$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
jinx13@3dqv:~$ (lsb_release -cs)
stretch
jinx13@3dqv:~$ sudo apt-get update
Ign:1 http://debian.mirror.serveriai.lt/debian stretch InRelease
Hit:2 http://debian.mirror.serveriai.lt/debian stretch Release
Hit:3 http://security.debian.org stretch/updates InRelease
Get:5 https://download.docker.com/linux/debian stretch InRelease [44.8 kB]
Get:6 https://download.docker.com/linux/debian stretch/stable amd64 Packages [15.9 kB]
Fetched 60.7 kB in 1s (31.6 kB/s)
Reading package lists... Done
jinx13@3dqv:~$ sudo apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  aufs-dkms aufs-tools binutils cgroupfs-mount containerd.io cpp cpp-6 dkms
  docker-ce-cli fakeroot gcc gcc-6 git git-man libasan3 libatomic1
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 liberror-perl libfakeroot
  libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libltdl7 libmpc3 libmpfr4
  libmpx2 libperl5.24 libquadmath0 libtsan0 libubsan0 linux-compiler-gcc-6-x86
  linux-headers-4.9.0-15-amd64 linux-headers-4.9.0-15-common
  linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev make manpages
  manpages-dev patch perl perl-modules-5.24 pigz rename rsync
Suggested packages:
  aufs-dev binutils-doc cpp-doc gcc-6-locales python3-apport menu gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
  libquadmath0-dbg gettext-base git-daemon-run | git-daemon-sysvinit git-doc
  git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
  glibc-doc make-doc man-browser ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl
The following NEW packages will be installed:
  aufs-dkms aufs-tools binutils cgroupfs-mount containerd.io cpp cpp-6 dkms
  docker-ce docker-ce-cli fakeroot gcc gcc-6 git git-man libasan3 libatomic1
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 liberror-perl libfakeroot
  libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libltdl7 libmpc3 libmpfr4
  libmpx2 libperl5.24 libquadmath0 libtsan0 libubsan0 linux-compiler-gcc-6-x86
  linux-headers-4.9.0-15-amd64 linux-headers-4.9.0-15-common
  linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev make manpages
  manpages-dev patch perl perl-modules-5.24 pigz rename rsync
0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded.
Need to get 148 MB of archives.
After this operation, 675 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://debian.mirror.serveriai.lt/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u7 [2723 kB]
Get:2 http://security.debian.org stretch/updates/main amd64 linux-kbuild-4.9 amd64 4.9.258-1 [964 kB]
Get:3 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u7 [3527 kB]
Get:4 http://security.debian.org stretch/updates/main amd64 linux-libc-dev amd644.9.258-1 [1574 kB]
Get:5 https://download.docker.com/linux/debian stretch/stable amd64 containerd.io amd64 1.4.3-1 [28.1 MB]
Get:6 http://debian.mirror.serveriai.lt/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u7 [218 kB]
Get:7 http://debian.mirror.serveriai.lt/debian stretch/main amd64 liberror-perlall 0.17024-1 [26.9 kB]
Get:8 http://debian.mirror.serveriai.lt/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u7 [1436 kB]
Get:9 http://security.debian.org stretch/updates/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.258-1 [756 kB]
Get:10 http://debian.mirror.serveriai.lt/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u7 [4170 kB]
Get:11 http://security.debian.org stretch/updates/main amd64 linux-headers-4.9.0-15-common all 4.9.258-1 [7819 kB]
Get:12 http://debian.mirror.serveriai.lt/debian stretch/main amd64 pigz amd64 2.3.4-1 [55.4 kB]
Get:13 http://debian.mirror.serveriai.lt/debian stretch/main amd64 manpages all4.10-2 [1222 kB]
Get:14 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB]
Get:15 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB]
Get:16 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libmpc3 amd641.0.3-1+b2 [39.9 kB]
Get:17 http://debian.mirror.serveriai.lt/debian stretch/main amd64 cpp-6 amd64 6                                                                                        .3.0-18+deb9u1 [6584 kB]
Get:18 http://security.debian.org stretch/updates/main amd64 linux-headers-4.9.0                                                                                        -15-amd64 amd64 4.9.258-1 [450 kB]
Get:19 http://security.debian.org stretch/updates/main amd64 linux-headers-amd64                                                                                         amd64 4.9+80+deb9u13 [6222 B]
Get:20 http://debian.mirror.serveriai.lt/debian stretch/main amd64 cpp amd64 4:6                                                                                        .3.0-4 [18.7 kB]
Get:21 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libcc1-0 amd6                                                                                        4 6.3.0-18+deb9u1 [30.6 kB]
Get:22 http://debian.mirror.serveriai.lt/debian stretch/main amd64 binutils amd6                                                                                        4 2.28-5 [3770 kB]
Get:23 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libgomp1 amd6                                                                                        4 6.3.0-18+deb9u1 [73.3 kB]
Get:24 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libitm1 amd64                                                                                         6.3.0-18+deb9u1 [27.3 kB]
Get:25 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libatomic1 am                                                                                        d64 6.3.0-18+deb9u1 [8966 B]
Get:26 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libasan3 amd6                                                                                        4 6.3.0-18+deb9u1 [311 kB]
Get:27 http://debian.mirror.serveriai.lt/debian stretch/main amd64 liblsan0 amd6                                                                                        4 6.3.0-18+deb9u1 [115 kB]
Get:28 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libtsan0 amd6                                                                                        4 6.3.0-18+deb9u1 [257 kB]
Get:29 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libubsan0 amd                                                                                        64 6.3.0-18+deb9u1 [107 kB]
Get:30 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libcilkrts5 a                                                                                        md64 6.3.0-18+deb9u1 [40.5 kB]
Get:31 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libmpx2 amd64                                                                                         6.3.0-18+deb9u1 [11.2 kB]
Get:32 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libquadmath0                                                                                         amd64 6.3.0-18+deb9u1 [131 kB]
Get:33 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libgcc-6-dev                                                                                         amd64 6.3.0-18+deb9u1 [2296 kB]
Get:34 http://debian.mirror.serveriai.lt/debian stretch/main amd64 gcc-6 amd64 6                                                                                        .3.0-18+deb9u1 [6900 kB]
Get:35 http://debian.mirror.serveriai.lt/debian stretch/main amd64 gcc amd64 4:6                                                                                        .3.0-4 [5196 B]
Get:36 http://debian.mirror.serveriai.lt/debian stretch/main amd64 make amd64 4.                                                                                        1-9.1 [302 kB]
Get:37 http://debian.mirror.serveriai.lt/debian stretch/main amd64 patch amd64 2                                                                                        .7.5-1+deb9u2 [112 kB]
Get:38 http://debian.mirror.serveriai.lt/debian stretch/main amd64 dkms all 2.3-                                                                                        2 [74.8 kB]
Get:39 http://debian.mirror.serveriai.lt/debian stretch/main amd64 aufs-dkms amd                                                                                        64 4.9+20161219-1 [169 kB]
Get:40 http://debian.mirror.serveriai.lt/debian stretch/main amd64 aufs-tools am                                                                                        d64 1:4.1+20161219-1 [102 kB]
Get:41 http://debian.mirror.serveriai.lt/debian stretch/main amd64 cgroupfs-moun                                                                                        t all 1.3 [5716 B]
Get:42 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libfakeroot a                                                                                        md64 1.21-3.1 [45.7 kB]
Get:43 http://debian.mirror.serveriai.lt/debian stretch/main amd64 fakeroot amd6                                                                                        4 1.21-3.1 [85.6 kB]
Get:44 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libc-dev-bin                                                                                         amd64 2.24-11+deb9u4 [259 kB]
Get:45 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libc6-dev amd                                                                                        64 2.24-11+deb9u4 [2364 kB]
Get:46 http://debian.mirror.serveriai.lt/debian stretch/main amd64 libltdl7 amd6                                                                                        4 2.4.6-2 [389 kB]
Get:47 http://debian.mirror.serveriai.lt/debian stretch/main amd64 manpages-dev                                                                                         all 4.10-2 [2145 kB]
Get:48 http://debian.mirror.serveriai.lt/debian stretch/main amd64 rename all 0.                                                                                        20-4 [12.5 kB]
Get:49 http://debian.mirror.serveriai.lt/debian stretch/main amd64 rsync amd64 3                                                                                        .1.2-1+deb9u2 [393 kB]
Get:50 https://download.docker.com/linux/debian stretch/stable amd64 docker-ce-c                                                                                        li amd64 5:19.03.15~3-0~debian-stretch [44.2 MB]
Get:51 https://download.docker.com/linux/debian stretch/stable amd64 docker-ce a                                                                                        md64 5:19.03.15~3-0~debian-stretch [22.7 MB]
Fetched 148 MB in 4s (37.0 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package perl-modules-5.24.
(Reading database ... 16190 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u7_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u7) ...
Selecting previously unselected package libperl5.24:amd64.
Preparing to unpack .../01-libperl5.24_5.24.1-3+deb9u7_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u7) ...
Selecting previously unselected package perl.
Preparing to unpack .../02-perl_5.24.1-3+deb9u7_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u7) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../03-liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../04-git-man_1%3a2.11.0-3+deb9u7_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package git.
Preparing to unpack .../05-git_1%3a2.11.0-3+deb9u7_amd64.deb ...
Unpacking git (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package pigz.
Preparing to unpack .../06-pigz_2.3.4-1_amd64.deb ...
Unpacking pigz (2.3.4-1) ...
Selecting previously unselected package manpages.
Preparing to unpack .../07-manpages_4.10-2_all.deb ...
Unpacking manpages (4.10-2) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../08-libisl15_0.18-1_amd64.deb ...
Unpacking libisl15:amd64 (0.18-1) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../09-libmpfr4_3.1.5-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.5-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../10-libmpc3_1.0.3-1+b2_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1+b2) ...
Selecting previously unselected package cpp-6.
Preparing to unpack .../11-cpp-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking cpp-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../12-cpp_4%3a6.3.0-4_amd64.deb ...
Unpacking cpp (4:6.3.0-4) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../13-libcc1-0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../14-binutils_2.28-5_amd64.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../15-libgomp1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgomp1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../16-libitm1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../17-libatomic1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libatomic1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:amd64.
Preparing to unpack .../18-libasan3_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../19-liblsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../20-libtsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../21-libubsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../22-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../23-libmpx2_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../24-libquadmath0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libquadmath0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:amd64.
Preparing to unpack .../25-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../26-gcc-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../27-gcc_4%3a6.3.0-4_amd64.deb ...
Unpacking gcc (4:6.3.0-4) ...
Selecting previously unselected package make.
Preparing to unpack .../28-make_4.1-9.1_amd64.deb ...
Unpacking make (4.1-9.1) ...
Selecting previously unselected package patch.
Preparing to unpack .../29-patch_2.7.5-1+deb9u2_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../30-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package linux-kbuild-4.9.
Preparing to unpack .../31-linux-kbuild-4.9_4.9.258-1_amd64.deb ...
Unpacking linux-kbuild-4.9 (4.9.258-1) ...
Selecting previously unselected package aufs-dkms.
Preparing to unpack .../32-aufs-dkms_4.9+20161219-1_amd64.deb ...
Unpacking aufs-dkms (4.9+20161219-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../33-aufs-tools_1%3a4.1+20161219-1_amd64.deb ...
Unpacking aufs-tools (1:4.1+20161219-1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../34-cgroupfs-mount_1.3_all.deb ...
Unpacking cgroupfs-mount (1.3) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../35-containerd.io_1.4.3-1_amd64.deb ...
Unpacking containerd.io (1.4.3-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../36-docker-ce-cli_5%3a19.03.15~3-0~debian-stretch_amd64.d                                                                                        eb ...
Unpacking docker-ce-cli (5:19.03.15~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../37-docker-ce_5%3a19.03.15~3-0~debian-stretch_amd64.deb .                                                                                        ..
Unpacking docker-ce (5:19.03.15~3-0~debian-stretch) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../38-libfakeroot_1.21-3.1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.21-3.1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../39-fakeroot_1.21-3.1_amd64.deb ...
Unpacking fakeroot (1.21-3.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../40-libc-dev-bin_2.24-11+deb9u4_amd64.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u4) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../41-linux-libc-dev_4.9.258-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.258-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../42-libc6-dev_2.24-11+deb9u4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.24-11+deb9u4) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../43-libltdl7_2.4.6-2_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package linux-compiler-gcc-6-x86.
Preparing to unpack .../44-linux-compiler-gcc-6-x86_4.9.258-1_amd64.deb ...
Unpacking linux-compiler-gcc-6-x86 (4.9.258-1) ...
Selecting previously unselected package linux-headers-4.9.0-15-common.
Preparing to unpack .../45-linux-headers-4.9.0-15-common_4.9.258-1_all.deb ...
Unpacking linux-headers-4.9.0-15-common (4.9.258-1) ...
Selecting previously unselected package linux-headers-4.9.0-15-amd64.
Preparing to unpack .../46-linux-headers-4.9.0-15-amd64_4.9.258-1_amd64.deb ...
Unpacking linux-headers-4.9.0-15-amd64 (4.9.258-1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../47-linux-headers-amd64_4.9+80+deb9u13_amd64.deb ...
Unpacking linux-headers-amd64 (4.9+80+deb9u13) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../48-manpages-dev_4.10-2_all.deb ...
Unpacking manpages-dev (4.10-2) ...
Selecting previously unselected package rename.
Preparing to unpack .../49-rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package rsync.
Preparing to unpack .../50-rsync_3.1.2-1+deb9u2_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u2) ...
Setting up libquadmath0:amd64 (6.3.0-18+deb9u1) ...
Setting up aufs-tools (1:4.1+20161219-1) ...
Setting up libgomp1:amd64 (6.3.0-18+deb9u1) ...
Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u7) ...
Setting up manpages (4.10-2) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u7) ...
Setting up git-man (1:2.11.0-3+deb9u7) ...
Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Setting up make (4.1-9.1) ...
Setting up libasan3:amd64 (6.3.0-18+deb9u1) ...
Setting up containerd.io (1.4.3-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service →                                                                                         /lib/systemd/system/containerd.service.
Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up linux-libc-dev:amd64 (4.9.258-1) ...
Setting up cgroupfs-mount (1.3) ...
Setting up rsync (3.1.2-1+deb9u2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib                                                                                        /systemd/system/rsync.service.
Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up perl (5.24.1-3+deb9u7) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename)                                                                                         in auto mode
Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ...
Setting up libisl15:amd64 (0.18-1) ...
Setting up patch (2.7.5-1+deb9u2) ...
Setting up linux-kbuild-4.9 (4.9.258-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libfakeroot:amd64 (1.21-3.1) ...
Processing triggers for systemd (232-25+deb9u12) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Setting up linux-headers-4.9.0-15-common (4.9.258-1) ...
Setting up libmpfr4:amd64 (3.1.5-1) ...
Setting up libmpc3:amd64 (1.0.3-1+b2) ...
Setting up binutils (2.28-5) ...
Setting up cpp-6 (6.3.0-18+deb9u1) ...
Setting up libc-dev-bin (2.24-11+deb9u4) ...
Setting up docker-ce-cli (5:19.03.15~3-0~debian-stretch) ...
Setting up manpages-dev (4.10-2) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u4) ...
Setting up pigz (2.3.4-1) ...
Setting up libitm1:amd64 (6.3.0-18+deb9u1) ...
Setting up cpp (4:6.3.0-4) ...
Setting up docker-ce (5:19.03.15~3-0~debian-stretch) ...
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.
Job for docker.service failed because the control process exited with error code                                                                                        .
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e                                                                                        nabled)
   Active: activating (auto-restart) (Result: exit-code) since Thu 2021-06-17 01                                                                                        :03:36 EEST; 13ms ago
     Docs: https://docs.docker.com
  Process: 10678 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/container                                                                                        d/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 10678 (code=exited, status=1/FAILURE)

Jun 17 01:03:36 3dqv.s.time4vps.cloud systemd[1]: Failed to start Docker Appl…e.
Jun 17 01:03:36 3dqv.s.time4vps.cloud systemd[1]: docker.service: Unit entere…e.
Jun 17 01:03:36 3dqv.s.time4vps.cloud systemd[1]: docker.service: Failed with…'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker-ce (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up liberror-perl (0.17024-1) ...
Setting up rename (0.20-4) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rena                                                                                        me) in auto mode
Setting up fakeroot (1.21-3.1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (                                                                                        fakeroot) in auto mode
Setting up gcc-6 (6.3.0-18+deb9u1) ...
Setting up git (1:2.11.0-3+deb9u7) ...
Setting up gcc (4:6.3.0-4) ...
Setting up linux-compiler-gcc-6-x86 (4.9.258-1) ...
Setting up dkms (2.3-2) ...
Setting up aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
It is likely that 2.6.32-042stab145.3 belongs to a chroot's host
Building for 4.9.0-15-amd64
Building initial module for 4.9.0-15-amd64
Done.

aufs:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-15-amd64/updates/dkms/

depmod...

DKMS: install completed.
Setting up linux-headers-4.9.0-15-amd64 (4.9.258-1) ...
Setting up linux-headers-amd64 (4.9+80+deb9u13) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u12) ...
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)


Hi

If you just run “dockerd” as root, does it spit out some errors?