How do I switch between active docker-machines on OSX? -
within macos, have created 2 docker machines, say, dev1 , dev2. in 1 terminal running $docker-machine active shows dev1 active docker-machine , in other, dev2. want switch dev2 in 1st terminal (without stopping/removing etc. dev1) i'll have dev2 in both.
how do this? thanks!
run command in terminal eval $(docker-machine env [machine-name]) run docker-machine ls available machines list
Comments
Post a Comment