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

Install Docker > Rsync Dir > Delete com.docker.docker > Create symlink #4

Closed jrbenriquez closed 3 years ago

jrbenriquez commented 4 years ago

Hi there,

I tried following the readme, not sure if I just misunderstood or what, but I wanted to know if my suggestion here improves the setup experience.

This is what I did initially:

  1. Do setup:

    • create folder structure in my external drive
    • Updated config file for shell with envs
    • created the sym link
  2. Installed Docker

    • Upon running it, it actually overwritten my com.docker.docker symlink
  3. Copied the com.docker.docker with rsync to my external drive

  4. Recreate Symlink as it was overwritten by docker

Small nuance here was I had to delete the original com.docker.docker folder and create a symlink again just to make sure the folder refers to my external drive.

Maybe a more straightforward flow would be

  1. Install Docker
  2. Copy Files to External Drive with same folder structure
  3. Delete original folder and replace with symlink.

Nonetheless, it saved me space in my machine, so cheers to that! 😁

github-actions[bot] commented 3 years ago

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