![]() ![]() On your new Mac, you want to create a new docker-machine with the same name. If you have a backup on your Time Machine, in the later steps you can directly copy Docker files from it. Docker files are stored under /Users/username/.docker. So if you want to know how to install them, please visit their official pages.įirst thing you need to do is to backup your Docker files. I won’t show you how to install Virtualbox and Docker here. ![]() Just in case I provide the both old and new versions of docker I used and am using. When you do this on your own, please replace the name of docker-machine with yours. So I’m going through this article as in the case of migrating default on the old Mac to default on the new one. On my old Mac I had the only one docker-machine named default. In this article I’m going to show you how to manually migrate the Docker environment to your new Mac. So you might wonder is there a better way? It is. But this requires a great amount of data transfer. ![]() So when it comes to migrating Docker and its environment, the first method you would come up with might be to create a Docker image, push it to Docker Hub, and then pull that image on your new PC. If you are a developer, you might have already Docker on your computer. But it is occasional that you don’t want to inherit previous settings, which is totally mess. You can restore whole data and settings on you new computer easily by using Time Machine. And one common pain of those is migration. Recently you got a new Mac, which is a great thing.
0 Comments
Leave a Reply. |