You use a Docker file (a small ~5-30 line file) to create a Docker image. This is very resource-intensive and can take a long time to set up and run the provisioning script.ĭocker takes a different approach. One of the drawbacks of using Vagrant is you have to run an entire virtual machine to run your application. What is Docker? – Containerized Applications When they run your code in this environment, it should act the same every time. You can also push your Vagrant file and code to GitHub, and anyone that pulls in and runs it will be able to recreate the virtual environment easily. Now, you can run your code or application, and it will run the same on your machine, your buddy’s machine, and in staging and production environments. What you end up with is essentially the same environment wherever you set up a virtual machine with Vagrant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |