mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-26 23:16:17 +00:00
d032b463e5
workdir 可以自动帮忙建立目录 |
||
---|---|---|
.. | ||
add.md | ||
arg.md | ||
cmd.md | ||
copy.md | ||
entrypoint.md | ||
env.md | ||
expose.md | ||
healthcheck.md | ||
onbuild.md | ||
README.md | ||
references.md | ||
user.md | ||
volume.md | ||
workdir.md |
Dockerfile 指令详解
我们已经介绍了 FROM
,RUN
,还提及了 COPY
, ADD
,其实 Dockerfile 功能很强大,它提供了十多个指令。这里我们继续讲解剩下的指令。