Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access is denied while docker save

Tags:

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. 
like image 249
lambodar Avatar asked May 24 '16 04:05

lambodar


1 Answers

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> 
like image 89
lambodar Avatar answered Sep 19 '22 19:09

lambodar