Hey Guys
I'm using Plesk Onyx on a Ubuntu 16.04:
When I try to install the Docker-Extension (1.3.1-126) I'm getting a strange error:
Additionally the journalctl-log of docker says
Am I doing anything wrong?
I'm using Plesk Onyx on a Ubuntu 16.04:
Code:
Linux xxxxxxxx.net 4.4.0-042stab131.1 #1 SMP Wed Jun 20 16:32:07 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
When I try to install the Docker-Extension (1.3.1-126) I'm getting a strange error:
Code:
Die Installation der Erweiterung ist fehlgeschlagen.
Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2018-07-18 21:08:11.255] 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.110-1ubuntu10).
apt-transport-https is already the newest version (1.2.27).
ca-certificates is already the newest version (20170717~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Executing: /tmp/tmp.RGbu0alcwC/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
bridge-utils dns-root-data dnsmasq-base libnetfilter-conntrack3 netcat
netcat-traditional ubuntu-fan
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
docker.io*
The following NEW packages will be installed:
docker-engine
0 upgraded, 1 newly installed, 1 to remove and 6 not upgraded.
Need to get 0 B/19.3 MB of archives.
After this operation, 2550 kB of additional disk space will be used.
(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 ... 87539 files and directories currently installed.)
Removing docker.io (17.03.2-0ubuntu2~16.04.1) ...
'/usr/share/docker.io/contrib/nuke-graph-directory.sh' -> '/var/lib/docker/nuke-graph-directory.sh'
Purging configuration files for docker.io (17.03.2-0ubuntu2~16.04.1) ...
Nuking /var/lib/docker ...
(if this is wrong, press Ctrl+C NOW!)
+ sleep 10
+ rm -rf /var/lib/docker/containerd /var/lib/docker/containers /var/lib/docker/image /var/lib/docker/nuke-graph-directory.sh /var/lib/docker/plugins /var/lib/docker/runtimes /var/lib/docker/tmp /var/lib/docker/tmp-old /var/lib/docker/trust /var/lib/docker/vfs /var/lib/docker/volumes
dpkg: warning: while removing docker.io, directory '/etc/docker' not empty so not removed
Processing triggers for man-db (2.7.5-1) ...
Selecting previously unselected package docker-engine.
(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 ... 87439 files and directories currently installed.)
Preparing to unpack .../docker-engine_17.05.0~ce-0~ubuntu-xenial_amd64.deb ...
Unpacking docker-engine (17.05.0~ce-0~ubuntu-xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Setting up docker-engine (17.05.0~ce-0~ubuntu-xenial) ...
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 Wed 2018-07-18 21:08:10 CEST; 4ms ago
Docs: https://docs.docker.com
Process: 9913 ExecStart=/usr/bin/dockerd -H fd:// [0;1;31m(code=exited, status=1/FAILURE)[0m
Main PID: 9913 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-engine (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu21.2) ...
Errors were encountered while processing:
docker-engine
, 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 (unknown version) and kernel driver (unknown version).
Command failed
gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
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-engine']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine
Code:
Error starting daemon: Devices cgroup isn't mounted
Am I doing anything wrong?