Skip to content

Instantly share code, notes, and snippets.

@crowjdh
Created May 20, 2022 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crowjdh/8b10daa56d2baca280a4c4ce71a6fbe9 to your computer and use it in GitHub Desktop.
Save crowjdh/8b10daa56d2baca280a4c4ce71a6fbe9 to your computer and use it in GitHub Desktop.
username@lima-docker:/Users/username$ echo '{ "insecure-registries": ["REGISTRY_HOST:REGISTRY_PORT"] }' > $HOME/.config/docker/daemon.json
username@lima-docker:/Users/username$ systemctl --user daemon-reload
username@lima-docker:/Users/username$ systemctl --user stop docker
username@lima-docker:/Users/username$ systemctl --user start docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment