command : docker run hello-world hangs

261 views
Skip to first unread message

spect...@gmail.com

unread,
Aug 18, 2015, 11:12:55 PM8/18/15
to docker-dev
HI,

I am setting up Docker development environment following the instruction on docker website.

1. I run the docker container using this command

docker run --privileged --rm -ti -v `pwd`:/go/src/github.com/docker/docker dry-run-test /bin/bash

2. and inside Docker dev container, I run the command

$docker daemon -D

.....
DEBU[0000] Registering PUT, /containers/{name:.*}/archive
DEBU[0000] docker group found. gid: 999
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
DEBU[0000] [zfs] cannot open /dev/zfs: open /dev/zfs: no such file or directory
DEBU[0000] devicemapper: driver version is 4.24.0
WARN[0000] Udev sync is not supported. This will lead to unexpected behavior, data loss and errors. For more information, see https://docs.docker.com/reference/commandline/cli/#daemon-storage-driver-option
DEBU[0000] Generated prefix: docker-253:0-1188521
DEBU[0000] Checking for existence of the pool 'docker-253:0-1188521-pool'
DEBU[0000] Pool doesn't exist. Creating it.
DEBU[0000] Creating loopback file /var/lib/docker/devicemapper/devicemapper/data for device-manage use
DEBU[0000] Creating loopback file /var/lib/docker/devicemapper/devicemapper/metadata for device-manage use
DEBU[0000] Initializing base device-mapper thin volume
DEBU[0000] [devmapper] CreateDevice(poolName=/dev/mapper/docker-253:0-1188521-pool, deviceId=1)
DEBU[0000] Registering device (id 1) with FS size 107374182400
DEBU[0000] registerDevice(1, )
DEBU[0000] Creating filesystem on base device-mapper thin volume
DEBU[0000] activateDeviceIfNeeded()

2. On a 2nd terminal, docker run hello-world

root@43d36d0cd4ad:/go/src/github.com/docker/docker# docker run hello-world

but it never  returns to the command line.


please help with what could be the issue here.

I have some understanding on using/runing Docker but very new to Docker development.
Reply all
Reply to author
Forward
0 new messages