自己本地写了一个dockerfile,在run容器的时候报错。提示/bin/sh: /root/tomcat/bin/startup.sh: No such file or directory
我是在本地解压了一个tomcat,然后通过ADD命令加到容器。
ADD ./tomcat /root
请问docker add 命令src 必须是文件吗?不能为文件件吗?
The first parameter of the ADD command can be a file, a folder, or even a URL/Git address, etc. It is still very flexible
The first parameter of the ADD command can be a file, a folder, or even a URL/Git address, etc. It is still very flexible