wattry / run-docker-external-storage

Discusses how to setup a docker environment on macOS 10.13: High Sierra (Lobo) and 10.14: Mojave
MIT License
118 stars 18 forks source link

In Big Sur have a problem #6

Closed TianYa-Q closed 2 years ago

TianYa-Q commented 3 years ago

need only symbolic link /vms/0/data. If link all files will have troubles.

R0dri commented 3 years ago

You are a savior!

jcuero commented 3 years ago

Thanks! your answer helped me. macOS Big Sur 11.2.3 (20D91)

Be careful if you copy and paste because sometimes you copy an invalid character -after a couple of hours I realized :( -

export E=/Volumes/<external-name>
export EHOME=$E$HOME
export EHOME_EXTERNAL="$EHOME/Library/Containers/com.docker.docker/Data/vms/0/data"

ln -sfn $EHOME_EXTERNAL ~/Library/Containers/com.docker.docker/Data/vms/0/data
bskiefer commented 3 years ago

Still creates the default qcow2 file instead of using Docker.raw :/

TianYa-Q commented 3 years ago

Still creates the default qcow2 file instead of using Docker.raw :/

You don't need to do it any more. Just change the location in preferences -> advanced -> disk image location. This option is in the end of the list.

github-actions[bot] commented 2 years ago

This issue has had no activity for over 90 days. It will be closed in 5 days without any futher activity