Public Repository

Last pushed: 2 years ago
Short Description
Prepare docker graph directory for content addressability
Full Description

Engine 1.10 migrator

Starting from v1.10 docker uses content-addressable IDs for the images and layers instead of using generated ones. This tool calculates SHA256 checksums for docker layer content, so that they don't need to be recalculated when the daemon starts for the first time.

The migration usually runs on daemon startup but it can be quite slow (usually 100-200MB/s) and daemon will not be able to accept requests during that time. You can run this tool instead while the old daemon is still running and skip checksum calculation on startup.

Usage

If you use the default storage path:

docker run --rm -v /var/lib/docker:/var/lib/docker docker/v1.10-migrator

If you use devicemapper storage driver (as reported by the storage driver field in docker info output), you will need to add --privileged to give the tool access to your storage devices.

See this wiki page for additional information.

Docker Pull Command
Owner
docker

Comments (1)
telinform
2 years ago

Don't work for me. Stop with error:
time="2016-02-08T13:44:29Z" level=fatal msg="multiple storage drivers found at /var/lib/docker, please specify one with \"-s\" option"