Search code examples
dockermicroservices

Access is denied while docker save


I am trying to save a docker image in windows so that I can load to another Linux box,in between while saving the images in windows, I got an error stating access is denied to rename the docker temp file.

I checked the permission everything looks fine, in fact I can able to edit. Any help here is highly appreciable. I am using docker 1.11.0

docker save -o . <imgID>
rename .docker_temp_742575903 .: Access is denied.

Solution

  • Never mind, along with path I need to give my new file name that docker wanted to create and it don't happen implicitly, in my cases I gave

    docker save -o ./<tar name that you wanted docker to create> <imgID>