7,540
edits
Changes
Docker
,→Manage machines
</pre>
* NAME: name of the created machine
* ACTIVE: from the Docker client point of view, the active virtual host can be managed with the docker and with the docker-compose commands form the local host, all as we would executed these commands on the '''docker''' commands will be redirected to itremote virtual host. There can be always a single active machine that is marked with an asterisk '*' in the ls output.
* DRIVER:
* STATE:
===Activate machine===
<pre>
# docker-machine env manager
As the output of the env command suggests, you have to run the '''eval ''' command in the that shell that you want to use to managed the active virtual host.
<pre>
# eval $(docker-machine env manager)
Now, in the same shell, run the '''ls ''' command again. The machine 'manager' will be marked with the asterisk in the ACTIVE column.
<pre>
# docker-machine ls