Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Answering my own question to help others. I am not sure why the command (per the doc, https://wiki.openstack.org/wiki/Docker) uploads the image and I can see in the glance image-list but docker fails to launch this image.

$ docker save samalba/hipache | glance image-create --is-public=True --container-format=docker --disk-format=raw --name samalba/hipache

I tagged the image and then used docker push as follows and I am able to launch the containers now. (5042 is the default docker registry port)

docker tag image_name <host-ip>:5042/image_name docker push <host-ip>:5042/image_name

Answering my own question to help others. I am not sure why the command (per the doc, https://wiki.openstack.org/wiki/Docker) uploads the image and I can see in the glance image-list but docker fails to launch this image.

$ docker save samalba/hipache | glance image-create --is-public=True --container-format=docker --disk-format=raw --name samalba/hipache

I tagged the image and then used docker push as follows and I am able to launch the containers now. (5042 is the default docker registry port)

docker tag image_name <host-ip>:5042/image_name <host-ip>:5042/image_name

docker push <host-ip>:5042/image_name