Now that we can deploy Docker hosts locally and to the cloud environments, we need to know how we can manage and manipulate these Docker hosts. Let's take a look at all the commands Docker Machine has to offer.
Note that as we previously created these hosts we were given output on how to target them for use with Docker Machine.
On running the
docker-machine create command, you should receive an output similar to this:
INFO To point your Docker client at it, run this in your shell: $(docker-machine env dev2)
This is how you can set the default to target Docker hosts with Docker Machine. Keep this in mind, when we are looking at the following commands: