Comment 0 for bug 1763630

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Similar to bug 1760660, docker.io package installation on B-KVM will fail with:

Setting up docker.io (17.03.2-0ubuntu5) ...
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; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-04-13 08:42:36 UTC; 10ms ago
     Docs: https://docs.docker.com
  Process: 1265 ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
 Main PID: 1265 (code=exited, status=1/FAILURE)

Apr 13 08:42:36 gummo dockerd[1265]: time="2018-04-13T08:42:36.052983563Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: WARNING: Module nf_nat not found in directory /lib/modules/4.15.0-1003-kvm`, error: exit status 1"
Apr 13 08:42:36 gummo dockerd[1265]: time="2018-04-13T08:42:36.055137401Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: WARNING: Module xt_conntrack not found in directory /lib/modules/4.15.0-1003-kvm`, error: exit status 1"
Apr 13 08:42:36 gummo dockerd[1265]: time="2018-04-13T08:42:36.058241707Z" level=info msg="Firewalld running: false"
Apr 13 08:42:36 gummo dockerd[1265]: Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.15.0-1003-kvm
Apr 13 08:42:36 gummo dockerd[1265]: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Apr 13 08:42:36 gummo dockerd[1265]: Perhaps iptables or your kernel needs to be upgraded.
Apr 13 08:42:36 gummo dockerd[1265]: (exit status 3)
Apr 13 08:42:36 gummo systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 08:42:36 gummo systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 13 08:42:36 gummo systemd[1]: Failed to start Docker Application Container Engine.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1003-kvm 4.15.0-1003.3
ProcVersionSignature: User Name 4.15.0-1003.3-kvm 4.15.10
Uname: Linux 4.15.0-1003-kvm x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
Date: Fri Apr 13 08:43:06 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)