I followed the guide on the Docker site to install the docker-engine
on my VPS which is running in a LX branded zone on OmniOS. Unfortunately, I got an error during the installation which is probably due to the custom kernel of the host.
The output from the installation process was:
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.
dpkg: error processing package docker-engine (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Errors were encountered while processing:
docker-engine
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running the suggested systemctl
command returns this:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-01-04 21:03:38 UTC; 7min ago
Docs: https://docs.docker.com
Main PID: 27548 (code=exited, status=1/FAILURE)
Finally uname
returns the following string:
Linux christian 4.4.0 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux
Is it possible to find out whether I am having issues due to the kernel or something else?
EDIT A call to apt-cache policy docker-engine
returns the following output:
docker-engine:
Installed: (none)
Candidate: 1.12.5-0~ubuntu-xenial
Version table:
1.12.5-0~ubuntu-xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.12.4-0~ubuntu-xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.12.3-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.12.2-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.12.1-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.12.0-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.11.2-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.11.1-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.11.0-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
upstart
instead ofsystemctl
. Did you able to resolve it withapt
?apt-cache policy docker-engine
1.12.6-0~ubuntu-xenial 500
. Can you also add full output from:systemctl status docker.service
yours is not complete.