Skip to content

Instantly share code, notes, and snippets.

@djui
Created November 23, 2015 23:12
Show Gist options
  • Save djui/2d2ab38a10f3da6be218 to your computer and use it in GitHub Desktop.
Save djui/2d2ab38a10f3da6be218 to your computer and use it in GitHub Desktop.
Docker WTF
❯ ll
total 937M
-rw-r--r-- 1 uwe staff 8.8K Nov 20 23:38 CoreOS_Image_Signing_Key.asc
-rw-r--r-- 1 uwe staff 332 Nov 23 22:55 Dockerfile
-rw-r--r-- 1 uwe staff 3.7K Nov 23 22:35 Makefile
-rw-r--r-- 1 uwe staff 3.3K Nov 20 23:19 README.md
-rwxr-xr-x 1 uwe staff 2.1K Nov 23 23:05 build_ova.sh
-rwxr-xr-x 1 uwe staff 433 Nov 20 23:36 build_pdftables.com-ee.sh
-rw-r--r-- 1 uwe staff 496M Nov 23 22:30 coreos_production_vmware_image.vmdk
-rw-r--r-- 1 uwe staff 543 Nov 23 22:30 coreos_production_vmware_image.vmdk.bz2.sig
-rw-r--r-- 1 uwe staff 8.1K Nov 23 22:27 coreos_production_vmware_ova.ovf
-rw-r--r-- 1 uwe staff 543 Nov 23 22:27 coreos_production_vmware_ova.ovf.sig
-rw-r--r-- 1 uwe staff 206M Nov 5 21:19 coreos_production_vmware_ova_image.vmdk
-rwxr-xr-x 1 uwe staff 469 Nov 20 23:19 digests.sh
-rwxr-xr-x 1 uwe staff 3.9K Nov 23 20:08 install.sh
-rw-r--r-- 1 uwe staff 1.1K Nov 20 23:19 issue.pdftables
-rw-r--r-- 1 uwe staff 4.0M Nov 20 23:38 nif_linux_amd64
-rw-r--r-- 1 uwe staff 1 Nov 23 20:08 null-byte
drwxr-xr-x 2 uwe staff 68 Nov 6 18:31 packer_cache
-rw-r--r-- 1 uwe staff 210M Nov 17 17:45 pdftables-enterprise-test-g8ee7a00.ova
-rw-r--r-- 1 uwe staff 23M Nov 20 23:38 pdftables.com-ee.tar
-rw-r--r-- 1 uwe staff 2.4K Nov 20 23:19 setup-network
~/dev/go/src/pdftables.com/ee ee-guestfs*
❯ docker run --rm -it -v $PWD/coreos_production_vmware_ova_image.vmdk:/tmp/image.vmdk -e LIBGUESTFS_DEBUG=1 -e LIBGUESTFS_TRACE=1 --entrypoint bash guestfs
root@b3c5f95eb06e:/# exit
~/dev/go/src/pdftables.com/ee ee-guestfs*
❯ docker run --rm -it -v $PWD/coreos_production_vmware_image.vmdk:/tmp/image.vmdk -e LIBGUESTFS_DEBUG=1 -e LIBGUESTFS_TRACE=1 --entrypoint bash guestfs
Timestamp: 2015-11-23 23:11:40.49626138 +0000 UTC
Code: System error
Message: not a directory
Frames:
---
0: setupRootfs
Package: github.com/opencontainers/runc/libcontainer
File: rootfs_linux.go@40
---
1: Init
Package: github.com/opencontainers/runc/libcontainer.(*linuxStandardInit)
File: standard_init_linux.go@57
---
2: StartInitialization
Package: github.com/opencontainers/runc/libcontainer.(*LinuxFactory)
File: factory_linux.go@242
---
3: initializer
Package: github.com/docker/docker/daemon/execdriver/native
File: init.go@35
---
4: Init
Package: github.com/docker/docker/pkg/reexec
File: reexec.go@26
---
5: main
Package: main
File: docker.go@18
---
6: main
Package: runtime
File: proc.go@63
---
7: goexit
Package: runtime
File: asm_amd64.s@2232
Error response from daemon: Cannot start container bc25644fb731a903941ee6860cf3b85895c91fc9c4654d741e8cc710729ed205: [8] System error: not a directory
~/dev/go/src/pdftables.com/ee ee-guestfs*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment