![]() ![]() I found one forum post mentioning that data in /var/lib/docker will be preserved, but I could not find any official docs stating that and it also seems strange considering the persistent storage guide above doesn't use this path or even mention that your data will be deleted. directory on Moby (the Docker for Mac xhyve virtual machine). I can't find documentation on what is happening. Include VM in Time Machine backups backs up the Docker Desktop for Mac virtual machine. Not the answer youre looking for Browse other questions tagged macos ssh docker beta or ask your own question. However "docker-machine restart " clears out this custom data on the vm. If you want to use ssh and ensure that an ssh daemon is up and running you should expose corresponding ports from the container with -p parameter like this: docker run -d -p 22:22 myimage. I checked that this data is indeed stored on the boot2docker VM (created by docker-machine) and not on the container, so that it will persist. I've created a data volume container for storing persistent data. Enter Docker VM on MacOS Catalina (SSH, xhyve) Posted on Decemby Grischa Ekart. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |