Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created September 24, 2013 08:51
Show Gist options
  • Save blissdev/6682094 to your computer and use it in GitHub Desktop.
Save blissdev/6682094 to your computer and use it in GitHub Desktop.
docker commit errors
vagrant@precise64:~$ sudo docker commit ae7b241 blissdev postgres -run='{"Cmd": ["/bin/su", "postgres", "-c", "/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data"], "PortSpecs": ["5432"]}'
unexpected fault address 0x7e12a0
fatal error: fault
[signal 0x7 code=0x2 addr=0x7e12a0 pc=0x464076]
goroutine 1 [running]:
[fp=0x7fbae07e8330] runtime.throw(0x9f9dab)
/usr/local/go/src/pkg/runtime/panic.c:473 +0x67
[fp=0x7fbae07e8348] runtime.sigpanic()
/usr/local/go/src/pkg/runtime/os_linux.c:231 +0x1eb
[fp=0x7fbae07e8490] github.com/dotcloud/docker.(*DockerCli).call(0xc2000de540, 0x7ac7e0, 0x4, 0xc2001239b0, 0x45, ...)
/go/src/github.com/dotcloud/docker/commands.go:1647 +0x666
[fp=0x7fbae07e87a8] github.com/dotcloud/docker.(*DockerCli).CmdCommit(0xc2000de540, 0xc2000b1020, 0x4, 0x4, 0x0, ...)
/go/src/github.com/dotcloud/docker/commands.go:1135 +0x9f0
----- stack segment boundary -----
[fp=0x7fbae07e8af8] reflect.Value.call(0x6f31e0, 0x79ff10, 0x130, 0x7bd4d0, 0x9, ...)
/usr/local/go/src/pkg/reflect/value.go:474 +0xe9f
[fp=0x7fbae07e8b58] reflect.Value.CallSlice(0x6f31e0, 0x79ff10, 0x130, 0x7fbae07e8be8, 0x2, ...)
/usr/local/go/src/pkg/reflect/value.go:358 +0x9b
[fp=0x7fbae07e8d10] github.com/dotcloud/docker.ParseCommands(0xc2001282c0, 0x4, 0xc2001282c7, 0x14, 0xc2000b1010, ...)
/go/src/github.com/dotcloud/docker/commands.go:56 +0x460
[fp=0x7fbae07e8f90] main.main()
/go/src/github.com/dotcloud/docker/docker/docker.go:77 +0xad2
[fp=0x7fbae07e8fb8] runtime.main()
/usr/local/go/src/pkg/runtime/proc.c:182 +0x92
[fp=0x7fbae07e8fc0] runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1223
goroutine 3 [syscall]:
os/signal.loop()
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1c
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment