Docker Community Forums

Share and learn in the Docker community.

Can the build use an existing volume?


(Sunshineo) #1


Every docker-cloud build seems to create a completely new container to build the docker image. This means every time all the docker image layers are downloaded from scratch. The makes the build time extremely long. 20-30 minutes in my case. If we can have a volume, then the new container will not need to download all those image layers and the build can be very fast. I understand there may be problem with this approach, but at least there should be an option to do it this way.

Thank you very much!