[GH-ISSUE #655] How can I change the installation path of Docker? #493

Open
opened 2026-02-27 23:00:48 +03:00 by kerem · 1 comment
Owner

Originally created by @pi3roo on GitHub (Apr 30, 2023).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/655

Hi, how can I change the installation path, in my case Catalina, to another disk?

Originally created by @pi3roo on GitHub (Apr 30, 2023). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/655 Hi, how can I change the installation path, in my case Catalina, to another disk?
Author
Owner

@PTAHume commented on GitHub (May 5, 2023):

you can move it using the following, shut down docker then

wsl --shutdown
wsl --export docker-desktop-data C:\data.tar 
wsl --unregister docker-desktop-data
wsl --import docker-desktop-data 'D:\some folder\on some drive\\' 'c:\data.tar' --version 2

restart docker, you can delete the data.tar file or keep it as a backup , docker containers/images should be running from the new location

<!-- gh-comment-id:1536705801 --> @PTAHume commented on GitHub (May 5, 2023): you can move it using the following, shut down docker then ``` wsl --shutdown wsl --export docker-desktop-data C:\data.tar wsl --unregister docker-desktop-data wsl --import docker-desktop-data 'D:\some folder\on some drive\\' 'c:\data.tar' --version 2 ``` restart docker, you can delete the data.tar file or keep it as a backup , docker containers/images should be running from the new location
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#493
No description provided.