Created
September 30, 2014 23:06
-
-
Save ryanobjc/56fa7dff9c7a541db265 to your computer and use it in GitHub Desktop.
docker crash when denied network connection via boot2docker and little snitch (OS X)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker pull centos:centos7 | |
Pulling repository centos | |
a5fd0258f31c: Pulling fs layer | |
511136ea3c5a: Download complete | |
0b2c58b208cf: Download complete | |
2014/09/30 16:03:13 unexpected EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[debug] session.go:95 Ancestry: ["a5fd0258f31cf4e25ebf066bd7deefe9563c002d9600640e07d87e2a3cca623d", "0b2c58b208cf373e971db525e34f7a13b03439c037884b71b6a943cdecebea48 | |
", "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158"] | |
[debug] http.go:162 https://registry-1.docker.io/v1/images/a5fd0258f31cf4e25ebf066bd7deefe9563c002d9600640e07d87e2a3cca623d/json -- HEADERS: map[User-Agent:[docker/1. | |
2.0 go/go1.3.1 git-commit/fa7b24f kernel/3.16.1-tinycore64 os/linux arch/amd64]] | |
[debug] image.go:325 Json string: {{"id":"a5fd0258f31cf4e25ebf066bd7deefe9563c002d9600640e07d87e2a3cca623d","parent":"0b2c58b208cf373e971db525e34f7a13b03439c037884b71 | |
b6a943cdecebea48","created":"2014-09-28T02:28:49.01452898Z","container":"a097e5387b4b32b351df719fad9c561dc59d1ed347d902596a5e70001662ed36","container_config":{"Hostna | |
me":"a097e5387b4b","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSp | |
ecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["/bin | |
/sh","-c","#(nop) ADD file:c3e1fd7339baed10d3ca298a785703cb92ad15c79e49c5ed3369a7db9d154930 in /"],"Image":"0b2c58b208cf373e971db525e34f7a13b03439c037884b71b6a943cdec | |
ebea48","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"OnBuild":[]},"docker_version":"1.2.0","author":"The CentOS Project \u003ccloud-ops@c | |
entos.org\u003e - ami_creator","config":{"Hostname":"a097e5387b4b","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false," | |
AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/ | |
bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":null,"Image":"0b2c58b208cf373e971db525e34f7a13b03439c037884b71b6a943cdecebea48","Volumes":null,"WorkingDir":"","Entrypoint": | |
null,"NetworkDisabled":false,"OnBuild":[]},"architecture":"amd64","os":"linux","Size":224000043}} | |
[debug] http.go:162 https://registry-1.docker.io/v1/images/a5fd0258f31cf4e25ebf066bd7deefe9563c002d9600640e07d87e2a3cca623d/layer -- HEADERS: map[User-Agent:[docker/1 | |
.2.0 go/go1.3.1 git-commit/fa7b24f kernel/3.16.1-tinycore64 os/linux arch/amd64]] | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x58149f] | |
goroutine 135 [running]: | |
runtime.panic(0xb48200, 0x1174573) | |
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5 | |
github.com/docker/docker/registry.(*Session).GetRemoteImageLayer(0xc208323020, 0xc2086062c0, 0x40, 0xc2083cb060, 0x20, 0xc2085f95e0, 0x1, 0x1, 0x4a7cb59, 0x0, ...) | |
/go/src/github.com/docker/docker/registry/session.go:170 +0x95f | |
github.com/docker/docker/graph.(*TagStore).pullImage(0xc2080f0ec0, 0xc208323020, 0x7faea6b5a878, 0xc208586200, 0xc208566500, 0x40, 0xc2083cb060, 0x20, 0xc2085f95e0, 0 | |
x1, ...) | |
/go/src/github.com/docker/docker/graph/pull.go:270 +0xaa4 | |
github.com/docker/docker/graph.func·006(0xc208566580) | |
/go/src/github.com/docker/docker/graph/pull.go:159 +0xcc5 | |
created by github.com/docker/docker/graph.(*TagStore).pullRepository | |
/go/src/github.com/docker/docker/graph/pull.go:185 +0xa83 | |
goroutine 16 [chan receive, 1 minutes]: | |
github.com/docker/docker/api/server.ServeApi(0xc208050880, 0x7faea6b5a358) | |
/go/src/github.com/docker/docker/api/server/server.go:1361 +0x473 | |
github.com/docker/docker/engine.(*Job).Run(0xc208050880, 0x0, 0x0) | |
/go/src/github.com/docker/docker/engine/job.go:79 +0x7d0 | |
main.mainDaemon() | |
/go/src/github.com/docker/docker/docker/daemon.go:78 +0x56c | |
main.main() | |
/go/src/github.com/docker/docker/docker/docker.go:54 +0x2b1 | |
goroutine 19 [finalizer wait]: | |
runtime.park(0x41bf90, 0x1193b80, 0x1179889) | |
/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 | |
runtime.parkunlock(0x1193b80, 0x1179889) | |
/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b | |
runfinq() | |
/usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf | |
runtime.goexit() | |
/usr/local/go/src/pkg/runtime/proc.c:1445 | |
goroutine 20 [syscall, 1 minutes]: | |
os/signal.loop() | |
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e | |
created by os/signal.init·1 | |
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32 | |
goroutine 17 [syscall, 1 minutes]: | |
runtime.goexit() | |
/usr/local/go/src/pkg/runtime/proc.c:1445 | |
goroutine 23 [chan receive, 1 minutes]: | |
github.com/docker/docker/pkg/signal.func·002() | |
/go/src/github.com/docker/docker/pkg/signal/trap.go:29 +0x88 | |
created by github.com/docker/docker/pkg/signal.Trap | |
/go/src/github.com/docker/docker/pkg/signal/trap.go:53 +0x28f | |
goroutine 47 [chan receive, 1 minutes]: | |
database/sql.(*DB).connectionOpener(0xc208174e80) | |
/usr/local/go/src/pkg/database/sql/sql.go:583 +0x48 | |
created by database/sql.Open | |
/usr/local/go/src/pkg/database/sql/sql.go:442 +0x27c | |
goroutine 25 [IO wait, 1 minutes]: | |
net.runtime_pollWait(0x7faea6b5ff28, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x66 | |
net.(*pollDesc).Wait(0xc20819c610, 0x72, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x46 | |
net.(*pollDesc).WaitRead(0xc20819c610, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x42 | |
net.(*netFD).accept(0xc20819c5b0, 0xd16d88, 0x0, 0x7faea6b58418, 0xb) | |
/usr/local/go/src/pkg/net/fd_unix.go:419 +0x343 | |
net.(*UnixListener).AcceptUnix(0xc2081a6340, 0xc208071200, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/unixsock_posix.go:293 +0x73 | |
net.(*UnixListener).Accept(0xc2081a6340, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/unixsock_posix.go:304 +0x4b | |
github.com/docker/docker/pkg/listenbuffer.(*defaultListener).Accept(0xc2081a6380, 0x0, 0x0, 0x0, 0x0) | |
/go/src/github.com/docker/docker/pkg/listenbuffer/buffer.go:41 +0x67 | |
github.com/docker/docker/pkg/listenbuffer.(*defaultListener).Accept(0xc2081a6380, 0x0, 0x0, 0x0, 0x0) | |
/go/src/github.com/docker/docker/pkg/listenbuffer/buffer.go:45 +0xcc | |
net/http.(*Server).Serve(0xc2081a80c0, 0x7faea6b5ffd8, 0xc2081a6380, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/http/server.go:1698 +0x91 | |
github.com/docker/docker/api/server.ListenAndServe(0xc208041600, 0x4, 0xc208041607, 0x14, 0xc208050880, 0x0, 0x0) | |
/go/src/github.com/docker/docker/api/server/server.go:1334 +0x778 | |
github.com/docker/docker/api/server.func·008() | |
/go/src/github.com/docker/docker/api/server/server.go:1356 +0x1ce | |
created by github.com/docker/docker/api/server.ServeApi | |
/go/src/github.com/docker/docker/api/server/server.go:1357 +0x3fa | |
goroutine 26 [IO wait]: | |
net.runtime_pollWait(0x7faea6b5fe78, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x66 | |
net.(*pollDesc).Wait(0xc2081e8ca0, 0x72, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x46 | |
net.(*pollDesc).WaitRead(0xc2081e8ca0, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x42 | |
net.(*netFD).accept(0xc2081e8c40, 0xd16d68, 0x0, 0x7faea6b58418, 0xb) | |
/usr/local/go/src/pkg/net/fd_unix.go:419 +0x343 | |
net.(*TCPListener).AcceptTCP(0xc20803a928, 0x8, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/tcpsock_posix.go:234 +0x5d | |
net.(*TCPListener).Accept(0xc20803a928, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/tcpsock_posix.go:244 +0x4b | |
github.com/docker/docker/pkg/listenbuffer.(*defaultListener).Accept(0xc2081a7260, 0x0, 0x0, 0x0, 0x0) | |
/go/src/github.com/docker/docker/pkg/listenbuffer/buffer.go:41 +0x67 | |
net/http.(*Server).Serve(0xc2081f7f80, 0x7faea6b5ffd8, 0xc2081a7260, 0x0, 0x0) | |
/usr/local/go/src/pkg/net/http/server.go:1698 +0x91 | |
github.com/docker/docker/api/server.ListenAndServe(0xc208041660, 0x3, 0xc208041666, 0xc, 0xc208050880, 0x0, 0x0) | |
/go/src/github.com/docker/docker/api/server/server.go:1334 +0x778 | |
github.com/docker/docker/api/server.func·008() | |
/go/src/github.com/docker/docker/api/server/server.go:1356 +0x1ce | |
created by github.com/docker/docker/api/server.ServeApi | |
/go/src/github.com/docker/docker/api/server/server.go:1357 +0x3fa | |
goroutine 53 [sleep]: | |
time.Sleep(0x12a05f200) | |
/usr/local/go/src/pkg/runtime/time.goc:39 +0x31 | |
net.func·019() | |
/usr/local/go/src/pkg/net/dnsclient_unix.go:183 +0x56 | |
created by net.loadConfig | |
/usr/local/go/src/pkg/net/dnsclient_unix.go:212 +0x153 | |
goroutine 125 [chan receive]: | |
github.com/docker/docker/graph.(*TagStore).pullRepository(0xc2080f0ec0, 0xc208323020, 0x7faea6b5a878, 0xc208586200, 0xc2083f1b50, 0x6, 0xc2083f1b50, 0x6, 0xc2083f1b57 | |
, 0x7, ...) | |
/go/src/github.com/docker/docker/graph/pull.go:193 +0xb43 | |
github.com/docker/docker/graph.(*TagStore).CmdPull(0xc2080f0ec0, 0xc2085e8700, 0x0) | |
/go/src/github.com/docker/docker/graph/pull.go:69 +0x972 | |
github.com/docker/docker/graph.*TagStore.CmdPull·fm(0xc2085e8700, 0x7faea6b5a358) | |
/go/src/github.com/docker/docker/graph/service.go:26 +0x30 | |
github.com/docker/docker/engine.(*Job).Run(0xc2085e8700, 0x0, 0x0) | |
/go/src/github.com/docker/docker/engine/job.go:79 +0x7d0 | |
github.com/docker/docker/api/server.postImagesCreate(0xc208044160, 0xbb7840, 0x4, 0x7faea6b60940, 0xc208425360, 0xc2082d6270, 0xc208322b40, 0x0, 0x0) | |
/go/src/github.com/docker/docker/api/server/server.go:515 +0xa3c | |
github.com/docker/docker/api/server.func·004(0x7faea6b60940, 0xc208425360, 0xc2082d6270) | |
/go/src/github.com/docker/docker/api/server/server.go:1061 +0x810 | |
net/http.HandlerFunc.ServeHTTP(0xc2081e54c0, 0x7faea6b60940, 0xc208425360, 0xc2082d6270) | |
/usr/local/go/src/pkg/net/http/server.go:1235 +0x40 | |
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2080663c0, 0x7faea6b60940, 0xc208425360, 0xc2082d6270) | |
/go/src/github.com/docker/docker/vendor/src/github.com/gorilla/mux/mux.go:98 +0x297 | |
net/http.serverHandler.ServeHTTP(0xc2081f7f80, 0x7faea6b60940, 0xc208425360, 0xc2082d6270) | |
/usr/local/go/src/pkg/net/http/server.go:1673 +0x19f | |
net/http.(*conn).serve(0xc2085e8680) | |
/usr/local/go/src/pkg/net/http/server.go:1174 +0xa7e | |
created by net/http.(*Server).Serve | |
/usr/local/go/src/pkg/net/http/server.go:1721 +0x313 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment