$ docker-machine restart default # Restart the environment $ eval $(docker-machine env default) # Refresh your environment settings
It's from a Stack Overflow post, and made for a nifty bash command in case I go somewhere different, and I need to connect to the Docker VM/environment.
No comments:
Post a Comment