使用dockerfile的copy報錯, stat /var/lib/docker/tmp xxxxxxxx No such file or directory
我使用絕對路徑來拷貝文件,之後提示報錯。不存在該文件。解決方法:將要拷貝的文件要在與dockerfile同一目錄下
且寫成 ./文件名稱
參考博客:
https://blog.csdn.net/top_explore/article/details/101020232
使用dockerfile的copy報錯, stat /var/lib/docker/tmp xxxxxxxx No such file or directory
我使用絕對路徑來拷貝文件,之後提示報錯。不存在該文件。解決方法:將要拷貝的文件要在與dockerfile同一目錄下
且寫成 ./文件名稱
參考博客:
https://blog.csdn.net/top_explore/article/details/101020232