46

Dockerfile 中的 COPY 与 ADD 命令 - sparkdev

 5 years ago
source link: https://www.cnblogs.com/sparkdev/p/9573248.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Dockerfile 中提供了两个非常相似的命令 COPY 和 ADD,本文尝试解释这两个命令的基本功能,以及其异同点,然后总结其各自适合的应用场景。 Build 上下文的概念 在使用 docker

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK