Due to the way the Docker client works, we don't know to which path the layers should be deployed, so the layers are deployed to the “_uploads” directory. Once the Docker client pushes the manifest.json file, we can determine the layers' path and copy the uploaded layers to that location from the "_uploads" directory. Eventually, the layers will be deleted from the "_uploads" directory by a daily clean-up job that deletes the layers from the "_uploads" directories.