官术网_书友最值得收藏!

Summary

In this chapter, we have learned about how VirtualBox can be used to create virtual machines on your workstation and how you can use it to run Windows (or Linux or other operating systems) in a virtual machine. We also learned enough about Docker to use it to build our first application.

This chapter was written using Windows 10 running within a VirtualBox virtual machine, running on an Arch Linux host. Microsoft Word was used within Windows, while the Docker commands and scripts were run and edited on the Arch Linux host.

We demonstrated how we can build a LAMP-style application, without MySQL, and containerize it. We can mount our source code directory from the host to the container so that we can edit files and see the changes immediately in the container. We learned how to persist data, meaning that stopping and starting the container would retain important files and state.

In the next chapter, we'll explore Docker Hub and build a more complex application that requires more than one container.

主站蜘蛛池模板: 贺州市| 溧阳市| 襄垣县| 南开区| 莱州市| 祥云县| 临泽县| 溆浦县| 民勤县| 孝感市| 五峰| 大冶市| 芷江| 敖汉旗| 宜宾县| 辉南县| 宜兰县| 常山县| 彩票| 三门峡市| 灵武市| 松江区| 新泰市| 孝感市| 攀枝花市| 六枝特区| 丰宁| 镇坪县| 永平县| 蓬莱市| 连南| 金川县| 常山县| 永宁县| 新沂市| 永顺县| 拜城县| 扎囊县| 汤阴县| 阿克苏市| 正安县|