i can use docker-machine create to create a local instance of docker-machine
Actual behavior
all the advice online says to use virtual machine drivers, but docker beta fixes that…i think.
looking for advice so I can switch back to using docker and docker-compose locally. i created an ec2 docker-machine instance and now I can’t switch back
To switch to a local battle-hardened Docker Machine VM:
docker-machine start
eval $(docker-machine env) # in every running shell
And, optionally, stop the Docker Beta via the whale icon on the menubar.
To switch back to the beta, start it if you stopped it before, and run
eval $(docker-machine env -u) # in every running shell
docker-machine stop
The other more direct answer is that the Docker beta is set up to work if all of the DOCKER_* environment variables, and most importantly DOCKER_HOST, are unset.