I have a Docker container which used to save all data in a dedicated volume data
to be persistent. That volume was created using the docker volume create command. I Have roughly 1,5 M files in the volume.
When i run a fresh container and want to bind the volume to it using -v
, this takes an unbelievable long time ~ 3+ hours...
docker run --name freshname -d -p 3838:3838 -v data:/home/pub myimg/own
What is the preferred way to handle so many files or is there a better way to persist the files?
I am running Docker 1.9.1 on coreOS 899.15.0 stable.