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

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.

主站蜘蛛池模板: 宁海县| 都江堰市| 和静县| 仲巴县| 广水市| 南城县| 南通市| 循化| 泽库县| 筠连县| 无为县| 敖汉旗| 安宁市| 洪洞县| 保山市| 长兴县| 乐昌市| 新干县| 腾冲县| 突泉县| 烟台市| 潼南县| 太仆寺旗| 正安县| 错那县| 睢宁县| 邵阳市| 安平县| 嵊泗县| 驻马店市| 南华县| 菏泽市| 海丰县| 东乡县| 庐江县| 崇文区| 游戏| 吴桥县| 缙云县| 特克斯县| 奇台县|