moby: Docker fails to run image with error "Invalid Argument"

docker.log

INFO[0000] [graphdriver] using prior storage driver "aufs" 
WARN[0000] Running modprobe bridge nf_nat failed with message: , error: exit status 1 
WARN[0000] Your kernel does not support swap memory limit. 
INFO[0001] Loading containers: start.                   

INFO[0001] Loading containers: done.                    
INFO[0001] Daemon has completed initialization          
INFO[0001] Docker daemon                                 commit=786b29d execdriver=native-0.2 graphdriver=aufs version=1.7.1
INFO[0001] GET /v1.19/version                           
INFO[0011] POST /v1.19/containers/create                
ERRO[0011] Handler for POST /containers/create returned error: No such image: hello-world (tag: latest) 
ERRO[0011] HTTP Error                                    err=No such image: hello-world (tag: latest) statusCode=404
INFO[0011] POST /v1.19/images/create?fromImage=hello-world&tag=latest 
INFO[0018] Image manifest for hello-world:latest has been verified 
INFO[0020] POST /v1.19/containers/create                
INFO[0020] POST /v1.19/containers/86f358024cae4895a3b87282b9db0f390e29fb73b68dd3ab1b3345335a15c135/attach?stderr=1&stdout=1&stream=1 
INFO[0020] POST /v1.19/containers/86f358024cae4895a3b87282b9db0f390e29fb73b68dd3ab1b3345335a15c135/start 
ERRO[0020] leaving endpoint failed: a container has already joined the endpoint 
ERRO[0020] Handler for POST /containers/{name:.*}/start returned error: Cannot start container 86f358024cae4895a3b87282b9db0f390e29fb73b68dd3ab1b3345335a15c135: invalid argument 
ERRO[0020] HTTP Error                                    err=Cannot start container 86f358024cae4895a3b87282b9db0f390e29fb73b68dd3ab1b3345335a15c135: invalid argument statusCode=500

docker info

Containers: 15
Images: 43
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 73
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-57-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.558 GiB
Name: ThinkPad-T420
ID: ZH5Z:JQDT:QRKU:NUZX:ZNBN:X6EH:XWAN:P753:KRJ5:XQWR:AWFE:O2HU
WARNING: No swap limit support

docker run hello-world

Error response from daemon: Cannot start container 6b4b0057d27b1507e1436c5bd3bc1e5cd3d50e8e2e556443719d64f1950da6a5: invalid argument

docker version

Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64

uname -a

Linux harshal-ThinkPad-T420 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

/var/log/syslog

Jul 23 21:29:03 harshal-ThinkPad-T420 acvpnagent[2309]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown 
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.253011] device vetheafcc75 entered promiscuous mode
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.254015] IPv6: ADDRCONF(NETDEV_UP): veth9a2b6b2: link is not ready
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown 
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: A new network interface has been detected.
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: Function: logInterfaces File: RouteMgr.cpp Line: 2105 Invoked Function: logInterfaces Return Code: 0 (0x00000000) Description: IP Address Interface List: 192.168.0.104 9.84.216.231 FE80:0:0:0:8E70:5AFF:FE57:C6D0 FE80:0:0:0:42:ACFF:FE11:6  
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown 
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.255476] IPv6: ADDRCONF(NETDEV_CHANGE): veth9a2b6b2: link becomes ready
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/veth9a2b6b2, iface: veth9a2b6b2)
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/veth9a2b6b2, iface: veth9a2b6b2): no ifupdown configuration found.
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]: <warn> /sys/devices/virtual/net/veth9a2b6b2: couldn't determine device driver; ignoring...
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/vetheafcc75, iface: vetheafcc75)
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/vetheafcc75, iface: vetheafcc75): no ifupdown configuration found.
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]: <warn> /sys/devices/virtual/net/vetheafcc75: couldn't determine device driver; ignoring...
Jul 23 21:29:18 harshal-ThinkPad-T420 avahi-daemon[1112]: Withdrawing workstation service for veth9a2b6b2.
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/veth9a2b6b2, iface: veth9a2b6b2)
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.339159] docker0: port 1(vetheafcc75) entered disabled state
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.340884] device vetheafcc75 left promiscuous mode
Jul 23 21:29:18 harshal-ThinkPad-T420 kernel: [186663.340904] docker0: port 1(vetheafcc75) entered disabled state
Jul 23 21:29:18 harshal-ThinkPad-T420 avahi-daemon[1112]: Withdrawing workstation service for vetheafcc75.
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: message repeated 3 times: [ Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown ]
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: A network interface has gone down.
Jul 23 21:29:18 harshal-ThinkPad-T420 acvpnagent[2309]: Function: logInterfaces File: RouteMgr.cpp Line: 2105 Invoked Function: logInterfaces Return Code: 0 (0x00000000) Description: IP Address Interface List: 192.168.0.104 9.84.216.231 FE80:0:0:0:8E70:5AFF:FE57:C6D0  
Jul 23 21:29:18 harshal-ThinkPad-T420 NetworkManager[1233]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/vetheafcc75, iface: vetheafcc75)
Jul 23 21:29:28 harshal-ThinkPad-T420 wpa_supplicant[1534]: wlan0: CTRL-EVENT-SCAN-STARTED 
Jul 23 21:29:32 harshal-ThinkPad-T420 wpa_supplicant[1534]: nl80211: send_and_recv->nl_recvmsgs failed: -33

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 57 (37 by maintainers)

Most upvoted comments

–bip=10.2.1.0/24 fails with this error, but… –bip=10.2.1.2/24 works perfectly fine. This may be what is throwing folks. The documentation here refers to the --bip as the subnet, and it’s not strictly the subnet (that would be .0), but rather the IP of the first host to use.

Pity there is no “like” button, I’d give you a bazillion of those… Or a “kicking myself in the head” smiley: of course a “bridge ip” should be an ip, no matter what TFM says. D’oh.

@uniqhemant RHEL 6 and kernel 2.6.x is no longer a supported platform for docker. Docker requires at least RHEL 7.x and kernel 3.10 or above