Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Invalid container format docker for image

Hi,

I am following this link to create a docker container in openstack. docker pull cirros works fine. However, when I try to save a docker image to glance by doing this:

docker save cirros |glance image-create --name cirros --is-public true --container-format docker --disk-format raw

I get this error:

<html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  Invalid container format 'docker' for image.<br /><br />

 </body>
</html> (HTTP 400)

Please help me resolve the issue.

Invalid container format docker for image

Hi,

I have installed OpenStack Juno via devstack. I am following this link to create a docker container in openstack. docker pull cirros works fine. However, when I try to save a docker image to glance by doing this:

docker save cirros |glance image-create --name cirros --is-public true --container-format docker --disk-format raw

I get this error:

<html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  Invalid container format 'docker' for image.<br /><br />

 </body>
</html> (HTTP 400)

Please help me resolve the issue.