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

Operating with an immutable container

Docker commands such as the ones seen earlier in this chapter are the foundation, where it all starts. But, when dealing with more than one, it starts getting complicated to handle them. You've seen that some commands can get quite long.

To operate with a container in a clustered operation, we will use docker-compose. This is Docker's own orchestration tool for defining multi-container operations. It gets defined by a YAML file with all the different tasks and services, each with enough context to build and run it.

It allows you to store the different services and parameters for each of them in this configuration file, called docker-compose.yaml by default. This allows you to coordinate them and generate a replicable cluster of services.

主站蜘蛛池模板: 明水县| 新田县| 高青县| 宝兴县| 石城县| 呼图壁县| 宜良县| 含山县| 巴青县| 封丘县| 泽库县| 宁都县| 长汀县| 桂林市| 吕梁市| 吴川市| 苍溪县| 图木舒克市| 革吉县| 如皋市| 莱阳市| 佛山市| 峨边| 施甸县| 武功县| 海林市| 密云县| 夏河县| 曲阳县| 汾阳市| 西盟| 错那县| 兴安县| 突泉县| 三江| 金塔县| 盐源县| 秭归县| 乌拉特中旗| 南充市| 缙云县|