Home:ALL Converter>Docker: combine docker layers into image

Docker: combine docker layers into image

Ask Time:2015-01-16T17:46:27         Author:templefox

Json Formatter

The origin of this question is that the pulling from docker private registry is super slow.

Then I figure out that the speed of wget through registry remote API is all right.

Now I get layers of one image. How can I load it as image to my docker daemon?

ps:

I tried docker load < layer.0, where layer.0 is the base image of all layers.

And the result as following.

FATA[0015] Error: open /home/docker/data/docker/tmp/docker-import-087506163/repo/etc/json: no such file or directory

Author:templefox,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/27981124/docker-combine-docker-layers-into-image
yy