Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I also had a similar error and fix it I like this:


1. create 1 file .tar empty : create one file any and

tar cf file.tar file

tar --delete -f file.tar file


Save image docker into file.tar

docker save cirros > file.tar


Create image glance from file tar

glance image-create --name "cirros-0.3.4-x86_64" --file /dir/file.tar --disk-format raw --container-format docker --visibility public --progress


I hope it can help you.

I also had a similar error and i fix it I like this:


1. create 1 file .tar empty : create one file any and

tar cf file.tar file

tar --delete -f file.tar file


Save image docker into file.tar

docker save cirros > file.tar


Create image glance from file tar

glance image-create --name "cirros-0.3.4-x86_64" --file /dir/file.tar --disk-format raw --container-format docker --visibility public --progress


I hope it can help you.

I also had a similar error and i fix it like this:


1. create 1 Create one file .tar empty : create one file any and

tar cf file.tar file

tar --delete -f file.tar file


Save image docker into file.tar

docker save cirros > file.tar


Create image glance from file tar

glance image-create --name "cirros-0.3.4-x86_64" --file /dir/file.tar --disk-format raw --container-format docker --visibility public --progress


I hope it can help you.