We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
两个命令都差不多,它们的语法都是COPY|ADD 。
但是ADD比COPY功能要丰富一些:
ADD允许是一个URL。 如果是一个常见的压缩格式,如tar.gz。那么它会被解压。 一般常用COPY。例如要复制xxx.tar.gz到容器,如果被解压可能会出乎你的意料。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
两个命令都差不多,它们的语法都是COPY|ADD 。
但是ADD比COPY功能要丰富一些:
ADD允许是一个URL。
如果是一个常见的压缩格式,如tar.gz。那么它会被解压。
一般常用COPY。例如要复制xxx.tar.gz到容器,如果被解压可能会出乎你的意料。
The text was updated successfully, but these errors were encountered: