• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Error when installing Docker extension

jacboy

New Pleskian
Hi there,

I've just set up a new Plesk Server on Debian 9 and now wanted to install the Docker extension. On the command line I've executed the "plesk installer" command and used the tool to install the extension. I get the following error:

Code:
ERROR: Failed to install or upgrade the extension 'Docker' (package: docker):
[2019-04-09 11:51:59.622] ERR [extension/docker] Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2019-04-09 11:51:59.597] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: Reading package lists...
Building dependency tree...
Reading state information...
dmsetup is already the newest version (2:1.02.137-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.4.9).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gnupg2 is already the newest version (2.1.18-8~deb9u4).
software-properties-common is already the newest version (0.96.20.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  containerd.io docker-ce-cli
Recommended packages:
  aufs-tools cgroupfs-mount | cgroup-lite git
The following NEW packages will be installed:
  containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Selecting previously unselected package containerd.io.
(Reading database ... 83827 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.2.5-1_amd64.deb ...
Unpacking containerd.io (1.2.5-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up containerd.io (1.2.5-1) ...
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/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: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2019-04-09 11:51:59 CEST; 7ms ago
     Docs: https://docs.docker.com
  Process: 28378 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 28378 (code=exited, status=1/FAILURE)
      CPU: 185ms

Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 11:51:59 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
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
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
 docker-ce
, stderr: N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR:root:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'docker-ce']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine

Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2019-04-09 11:51:59.597] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: Reading package lists...
Building dependency tree...
Reading state information...
dmsetup is already the newest version (2:1.02.137-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.4.9).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gnupg2 is already the newest version (2.1.18-8~deb9u4).
software-properties-common is already the newest version (0.96.20.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  containerd.io docker-ce-cli
Recommended packages:
  aufs-tools cgroupfs-mount | cgroup-lite git
The following NEW packages will be installed:
  containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Selecting previously unselected package containerd.io.
(Reading database ... 83827 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.2.5-1_amd64.deb ...
Unpacking containerd.io (1.2.5-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up containerd.io (1.2.5-1) ...
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/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: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2019-04-09 11:51:59 CEST; 7ms ago
     Docs: https://docs.docker.com
  Process: 28378 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 28378 (code=exited, status=1/FAILURE)
      CPU: 185ms

Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 11:51:59 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
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
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
 docker-ce
, stderr: N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR:root:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'docker-ce']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine



Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
exit status 1

Any ideas on this?
 
You seem to have an invalid file in your sources directory /etc/apt/sources.list.d/ named "plesk.list.ai_back"

Try removing the file /etc/apt/sources.list.d/plesk.list.ai_back (or moving it to another directory outside of /etc/apt) and then try again
 
Code:
root@web1:~# rm -r /etc/apt/sources.list.d/plesk.list.ai_back
rm: cannot remove '/etc/apt/sources.list.d/plesk.list.ai_back': No such file or directory
root@web1:~# cd /etc/apt/sources.list.d/
root@web1:/etc/apt/sources.list.d# ls
plesk-ext-docker.list  plesk-migrator.list  plesk.list


There's nothing.
 
I now re-runed the Plesk installer and the Docker thing seemed to be installed (or at least the installer thinks so), so I marked it for deletion and now we got this:

Code:
Preparing Your System for Product Installation
===============================================================================

There are 0 packages required for the product to function properly which
were not found in your system.

There are 1 packages that need to be upgraded
in order to install the product.

There are 1 packages that are installed, but will be removed.


Available actions:
(F) Go forward
(B) Go back
(Q) Cancel installation
(S) Show the list of packages

Select an action [F/b/q/s]:
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
docker-ce is already the newest version (5:18.09.4~3-0~debian-stretch).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/dockerd-ce because link group dockerd is broken
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: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2019-04-09 12:01:13 CEST; 10ms ago
     Docs: https://docs.docker.com
  Process: 712 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 712 (code=exited, status=1/FAILURE)
      CPU: 187ms

Apr 09 12:01:13 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 12:01:13 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 12:01:13 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 12:01:13 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
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
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please contact product technical support.
exit status 1
 
Try to do following:

  1. Remove the package, if still present and move its files:

    # dpkg -P docker-ce
    # mv /var/lib/docker /var/lib/docker_bk

  2. Remove the repolist plesk-ext-docker.list, if still present:

    # rm -f /etc/apt/sources.list.d/plesk-ext-docker.list

  3. Install Docker extension again via Extensions > Extensions Catalog.
 
Code:
root@web1:~# dpkg -P docker-ce
(Reading database ... 84038 files and directories currently installed.)
Removing docker-ce (5:18.09.4~3-0~debian-stretch) ...
Purging configuration files for docker-ce (5:18.09.4~3-0~debian-stretch) ...
Processing triggers for systemd (232-25+deb9u11) ...
root@web1:~# mv /var/lib/docker /var/lib/docker_bk
root@web1:~# rm -f /etc/apt/sources.list.d/plesk-ext-docker.list

That worked out. Now I am reinstalling it within the Extension Catalog as you said, got the following error message:

Code:
Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2019-04-09 12:10:41.451] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: Reading package lists...
Building dependency tree...
Reading state information...
dmsetup is already the newest version (2:1.02.137-2).
The following packages were automatically installed and are no longer required:
containerd.io docker-ce-cli
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.4.9).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gnupg2 is already the newest version (2.1.18-8~deb9u4).
software-properties-common is already the newest version (0.96.20.2-1).
The following packages were automatically installed and are no longer required:
containerd.io docker-ce-cli
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
OK
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
aufs-tools cgroupfs-mount | cgroup-lite git
The following NEW packages will be installed:
docker-ce
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17.4 MB of archives.
After this operation, 85.4 MB of additional disk space will be used.
Selecting previously unselected package docker-ce.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 84025 files and directories currently installed.)
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/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: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2019-04-09 12:10:41 CEST; 9ms ago
Docs: https://docs.docker.com
Process: 20487 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 20487 (code=exited, status=1/FAILURE)
CPU: 177ms
Apr 09 12:10:41 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 12:10:41 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 12:10:41 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 12:10:41 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
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
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
docker-ce
, stderr: E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR:root:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'docker-ce']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine

Seem's like a true Monday.
 
Hi,

i got an similar problem.

Tried to install Docker via Plesk -> Extensions -> Extension Catalog...

Got this error:
Die Erweiterung "Docker" konnte nicht installiert werden
  • The execution of post-install.php has failed with the following message:
  • [2021-11-02 17:21:18.947] 2402:6181657ee6fe0 ERR [extension/docker] Execution installer has failed with exit code 1, stdout: OK
  • , stderr: /dev/mapper/control: open failed: Operation not permitted
  • Failure to communicate with kernel device-mapper driver.
  • Check that device-mapper is available in the kernel.
  • Incompatible libdevmapper 1.02.137 (2016-11-30) and kernel driver (unknown version).
  • Command failed
  • ERROR:__main__:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'docker-ce']' returned non-zero exit status 100
  • stdout: Reading package lists...
  • Building dependency tree...
  • Reading state information...
  • The following additional packages will be installed:
  • docker-ce-cli
  • Recommended packages:
  • aufs-tools cgroupfs-mount | cgroup-lite
  • The following NEW packages will be installed:
  • docker-ce docker-ce-cli
  • 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  • Need to get 0 B/66.9 MB of archives.
  • After this operation, 297 MB of additional disk space will be used.
  • Selecting previously unselected package docker-ce-cli.
  • (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 95225 files and directories currently installed.)
  • Preparing to unpack .../docker-ce-cli_5%3a19.03.15~3-0~debian-stretch_amd64.deb ...
  • Unpacking docker-ce-cli (5:19.03.15~3-0~debian-stretch) ...
  • Selecting previously unselected package docker-ce.
  • Preparing to unpack .../docker-ce_5%3a19.03.15~3-0~debian-stretch_amd64.deb ...
  • Unpacking docker-ce (5:19.03.15~3-0~debian-stretch) ...
  • Processing triggers for systemd (232-25+deb9u13) ...
  • Processing triggers for man-db (2.7.6.1-2) ...
  • Setting up docker-ce-cli (5:19.03.15~3-0~debian-stretch) ...
  • Setting up docker-ce (5:19.03.15~3-0~debian-stretch) ...
  • Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
  • Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/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: enabled)
  • Active: activating (auto-restart) (Result: exit-code) since Tue 2021-11-02 17:21:18 CET; 8ms ago
  • Docs: Docker Documentation
  • Process: 4512 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
  • Main PID: 4512 (code=exited, status=1/FAILURE)
  • CPU: 226ms

  • Nov 02 17:21:18 vps34319.alfahosting-vps.de systemd[1]: docker.service: Main …RE
  • Nov 02 17:21:18 vps34319.alfahosting-vps.de systemd[1]: Failed to start Docke…e.
  • Nov 02 17:21:18 vps34319.alfahosting-vps.de systemd[1]: docker.service: Unit …e.
  • Nov 02 17:21:18 vps34319.alfahosting-vps.de systemd[1]: docker.service: Faile…'.
  • 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
  • Processing triggers for systemd (232-25+deb9u13) ...
  • Errors were encountered while processing:
  • docker-ce

  • stderr:E: Sub-process /usr/bin/dpkg returned an error code (1)

  • exit status 1
  • Can not install required Docker deb packages

Wenn i try to start the docker.service via Shell in debug mode i get this...

sudo dockerd --debug
INFO[2021-11-02T17:23:54.380724461+01:00] Starting up
DEBU[2021-11-02T17:23:54.381435395+01:00] Listener created for HTTP on unix (/var/run/docker.sock)
DEBU[2021-11-02T17:23:54.382030700+01:00] Golang's threads limit set to 3712590
INFO[2021-11-02T17:23:54.382347194+01:00] parsed scheme: "unix" module=grpc
INFO[2021-11-02T17:23:54.382373178+01:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2021-11-02T17:23:54.382397289+01:00] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 <nil>}] <nil>} module=grpc
INFO[2021-11-02T17:23:54.382413943+01:00] ClientConn switching balancer to "pick_first" module=grpc
INFO[2021-11-02T17:23:54.383992691+01:00] parsed scheme: "unix" module=grpc
INFO[2021-11-02T17:23:54.384123790+01:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2021-11-02T17:23:54.384298443+01:00] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 <nil>}] <nil>} module=grpc
INFO[2021-11-02T17:23:54.384458902+01:00] ClientConn switching balancer to "pick_first" module=grpc
DEBU[2021-11-02T17:23:54.387266628+01:00] processing event stream module=libcontainerd namespace=plugins.moby
DEBU[2021-11-02T17:23:54.387582028+01:00] Using default logging driver json-file
DEBU[2021-11-02T17:23:54.387736303+01:00] [graphdriver] priority list: [btrfs zfs overlay2 aufs overlay devicemapper vfs]
DEBU[2021-11-02T17:23:54.691219131+01:00] backingFs=extfs, projectQuotaSupported=false, indexOff="" storage-driver=overlay2
INFO[2021-11-02T17:23:54.691281173+01:00] [graphdriver] using prior storage driver: overlay2
DEBU[2021-11-02T17:23:54.691307054+01:00] Initialized graph driver overlay2
DEBU[2021-11-02T17:23:54.757204367+01:00] Max Concurrent Downloads: 3
DEBU[2021-11-02T17:23:54.757307029+01:00] Max Concurrent Uploads: 5
INFO[2021-11-02T17:23:54.757371987+01:00] Loading containers: start.
DEBU[2021-11-02T17:23:54.757448769+01:00] Option Experimental: false
DEBU[2021-11-02T17:23:54.757465339+01:00] Option DefaultDriver: bridge
DEBU[2021-11-02T17:23:54.757491012+01:00] Option DefaultNetwork: bridge
DEBU[2021-11-02T17:23:54.757507866+01:00] Network Control Plane MTU: 1500
DEBU[2021-11-02T17:23:54.757762323+01:00] processing event stream module=libcontainerd namespace=moby
WARN[2021-11-02T17:23:54.758831518+01:00] Running iptables --wait -t nat -L -n failed with message: `iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.`, error: exit status 3
DEBU[2021-11-02T17:23:54.762773995+01:00] /sbin/iptables, [--wait -t filter -C FORWARD -j DOCKER-ISOLATION]
DEBU[2021-11-02T17:23:54.763783923+01:00] /sbin/iptables, [--wait -t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[2021-11-02T17:23:54.765098661+01:00] /sbin/iptables, [--wait -t nat -D OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER]
DEBU[2021-11-02T17:23:54.766172878+01:00] /sbin/iptables, [--wait -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[2021-11-02T17:23:54.767312849+01:00] /sbin/iptables, [--wait -t nat -D PREROUTING]
DEBU[2021-11-02T17:23:54.768298997+01:00] /sbin/iptables, [--wait -t nat -D OUTPUT]
DEBU[2021-11-02T17:23:54.769178091+01:00] /sbin/iptables, [--wait -t nat -F DOCKER]
DEBU[2021-11-02T17:23:54.770055303+01:00] /sbin/iptables, [--wait -t nat -X DOCKER]
DEBU[2021-11-02T17:23:54.770874271+01:00] /sbin/iptables, [--wait -t filter -F DOCKER]
DEBU[2021-11-02T17:23:54.771834003+01:00] /sbin/iptables, [--wait -t filter -X DOCKER]
DEBU[2021-11-02T17:23:54.772770810+01:00] /sbin/iptables, [--wait -t filter -F DOCKER-ISOLATION-STAGE-1]
DEBU[2021-11-02T17:23:54.773643212+01:00] /sbin/iptables, [--wait -t filter -X DOCKER-ISOLATION-STAGE-1]
DEBU[2021-11-02T17:23:54.774491211+01:00] /sbin/iptables, [--wait -t filter -F DOCKER-ISOLATION-STAGE-2]
DEBU[2021-11-02T17:23:54.775367739+01:00] /sbin/iptables, [--wait -t filter -X DOCKER-ISOLATION-STAGE-2]
DEBU[2021-11-02T17:23:54.776260448+01:00] /sbin/iptables, [--wait -t filter -F DOCKER-ISOLATION]
DEBU[2021-11-02T17:23:54.777197051+01:00] /sbin/iptables, [--wait -t filter -X DOCKER-ISOLATION]
DEBU[2021-11-02T17:23:54.778158044+01:00] /sbin/iptables, [--wait -t nat -n -L DOCKER]
DEBU[2021-11-02T17:23:54.779032323+01:00] /sbin/iptables, [--wait -t nat -N DOCKER]
DEBU[2021-11-02T17:23:54.780025745+01:00] daemon configured with a 15 seconds minimum shutdown timeout
DEBU[2021-11-02T17:23:54.780084348+01:00] start clean shutdown of all containers with a 15 seconds timeout...
DEBU[2021-11-02T17:23:54.780437306+01:00] Cleaning up old mountid : start.
INFO[2021-11-02T17:23:54.780505638+01:00] stopping event stream following graceful shutdown error="<nil>" module=libcontainerd namespace=moby
DEBU[2021-11-02T17:23:54.780703264+01:00] Cleaning up old mountid : done.
failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Please enable NAT iptables module for the OS and then you should be able to start docker.
 
Back
Top