Quick Recap
Another action-packed chapter. You’ve now learned the major tools in our belt for deploying apps with Docker.
Let’s review what we covered in this chapter:
-
We introduced Docker Machine and used it to create a virtualized Docker-ready instance:
$ docker-machine create --driver virtualbox local-vm-1 -
We logged onto the new instance using SSH:
$ docker-machine ssh local-vm-1 and issued commands against it from our local shell session:
$ docker-machine ssh <instance name> "<command>" -
We saw how to configure our Docker Client to target the Docker Engine on our virtual instance:
$ eval $(docker-machine env local-vm-1) and to reset it again with:
$ eval $(docker-machine ...
Get Docker for Rails Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.