Changes

Jump to: navigation, search

Docker

289 bytes added, 17:17, 23 June 2018
Set Active machine
===Set Active machine===
With the docker client in our host machine we can connect to the docker daemon of any of the virtual hosts. That virtual host that we can managed locally is called "active" host. 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, as we executed these commands on the (remote) virtual host. We can make any docker-machine managed virtual host active with the ''''docker-machine env <machine name>'''' command. Docker gets connection information fromenvironment variables. With this command we can redirect our docker CLI.
Run this command in the host.
<pre>

Navigation menu