怎么跑docker? #1147
Unanswered
minchieh2014
asked this question in
Q&A
怎么跑docker?
#1147
Replies: 4 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
先构建 skynet 环境的镜像。./service/skynet/Dockerfile
再使用 docker-compose.yaml 文件对镜像进行编排。将项目融于其中。
文件结构,可以看看这个树。
项目中,其实,就两个真正的文件。一个 config 文件和一个 main 文件。
再来看
运行 (docker-compose up)结果如下。
其实, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
希望加入Dockerfile
Beta Was this translation helpful? Give feedback.
All reactions