Skip to content

Instantly share code, notes, and snippets.

@kunalkushwaha
Created October 12, 2016 01:58
Show Gist options
  • Select an option

  • Save kunalkushwaha/1fcdfcbb96876c0bff5dee8aad381fcd to your computer and use it in GitHub Desktop.

Select an option

Save kunalkushwaha/1fcdfcbb96876c0bff5dee8aad381fcd to your computer and use it in GitHub Desktop.
Docker error after upgrading to docker 1.12.2
Oct 12 10:57:18 kunal-HP-Z400-Workstation systemd[1]: Starting Docker Application Container Engine...
Oct 12 10:57:18 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:18.500079458+09:00" level=info msg="libcontainerd: new containerd process, pid: 9028"
Oct 12 10:57:19 kunal-HP-Z400-Workstation audit[9061]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="docker-default" pid=9061 comm="apparmor_parser"
Oct 12 10:57:19 kunal-HP-Z400-Workstation kernel: audit: type=1400 audit(1476237439.541:23): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="docker-default" pid=9061 comm="apparmor_parser"
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.550757159+09:00" level=info msg="[graphdriver] using prior storage driver \"aufs\""
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.844985894+09:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.845263068+09:00" level=warning msg="Your kernel does not support swap memory limit."
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.845849256+09:00" level=info msg="Loading containers: start."
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: .................................time="2016-10-12T10:57:19.866906657+09:00" level=info msg="Firewalld running: false"
Oct 12 10:57:20 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:20.117032845+09:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:21.350102174+09:00" level=info msg="Loading containers: done."
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:21.559791022+09:00" level=info msg="Listening for connections" addr="[::]:2377" proto=tcp
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: panic: runtime error: makeslice: len out of range
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: goroutine 250 [running]:
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: panic(0x1a95c20, 0xc820819890)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/local/go/src/runtime/panic.go:481 +0x3e6
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/coreos/etcd/wal.(*decoder).decode(0xc820bf5680, 0xc8209caf70, 0x0, 0x0)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/coreos/etcd/wal/decoder.go:55 +0x142
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/coreos/etcd/wal.(*WAL).ReadAll(0xc820427860, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/coreos/etcd/wal/wal.go:237 +0x442
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/docker/swarmkit/manager/state/raft.(*Node).readWAL(0xc82040a6c0, 0x7fc3f963c1d8, 0xc820bfc300, 0xc820240240, 0x0, 0x0, 0x0)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/manager/state/raft/storage.go:133 +0x335
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/docker/swarmkit/manager/state/raft.(*Node).loadAndStart(0xc82040a6c0, 0x7fc3f963c1d8, 0xc820bfc300, 0xc8200e7b00, 0x0, 0x0)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/manager/state/raft/storage.go:65 +0x3c3
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/docker/swarmkit/manager/state/raft.(*Node).JoinAndStart(0xc82040a6c0, 0x0, 0x0)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/manager/state/raft/raft.go:218 +0x85
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/docker/swarmkit/manager.(*Manager).Run(0xc8202401b0, 0x7fc3f967c0b8, 0xc82000e678, 0x0, 0x0)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/manager/manager.go:518 +0x1515
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: github.com/docker/swarmkit/agent.(*Node).runManager.func1(0xc8202401b0, 0xc8207cab40)
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/agent/node.go:624 +0x64
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]: created by github.com/docker/swarmkit/agent.(*Node).runManager
Oct 12 10:57:21 kunal-HP-Z400-Workstation dockerd[9020]:         /usr/src/docker/vendor/src/github.com/docker/swarmkit/agent/node.go:626 +0x579
Oct 12 10:57:21 kunal-HP-Z400-Workstation systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 12 10:57:21 kunal-HP-Z400-Workstation systemd[1]: Failed to start Docker Application Container Engine.
Oct 12 10:57:21 kunal-HP-Z400-Workstation systemd[1]: docker.service: Unit entered failed state.
Oct 12 10:57:21 kunal-HP-Z400-Workstation systemd[1]: docker.service: Failed with result 'exit-code'.
@kunalkushwaha
Copy link
Author

System info:

Ubuntu 16.04

$ uname -a
Linux kunal-HP-Z400-Workstation 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Previous version : docker 12.2.0 ( dev version)
Upgraded to : docker 12.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment