module can be any folder with a main.tf file in it, yes, that is the only required file for a module to be usable, but the recommendation is that you also put a README.md file with a description of the module if it’s intended to be used by people if it’s a sub-module it’s not necessary, also you will need a file called variables.tf and other outputs.tf of course.

- -

- -

什么是Docker?

Docker是开发,运输和运行应用程序的开放平台。Docker使您可以将应用程序与基础架构分开,以便您可以快速提供软件。借助Docker,您可以通过管理应用程序的方式来管理基础架构。通过利用Docker快速运输,测试和部署代码的方法,您可以显着减少编写代码和在生产中运行它之间的延迟。

在第一步中,请检查Docker版本。

让我们放置Docker Images命令。

现在,创建一个dockerfile来使用GUI应用程序构建图像并构建图像。

- -

- -

Baidu