<i id='tDHqT'><tr id='tDHqT'><dt id='tDHqT'><q id='tDHqT'><span id='tDHqT'><b id='tDHqT'><form id='tDHqT'><ins id='tDHqT'></ins><ul id='tDHqT'></ul><sub id='tDHqT'></sub></form><legend id='tDHqT'></legend><bdo id='tDHqT'><pre id='tDHqT'><center id='tDHqT'></center></pre></bdo></b><th id='tDHqT'></th></span></q></dt></tr></i><div id='tDHqT'><tfoot id='tDHqT'></tfoot><dl id='tDHqT'><fieldset id='tDHqT'></fieldset></dl></div>

<small id='tDHqT'></small><noframes id='tDHqT'>

    1. <tfoot id='tDHqT'></tfoot>
    2. <legend id='tDHqT'><style id='tDHqT'><dir id='tDHqT'><q id='tDHqT'></q></dir></style></legend>
        <bdo id='tDHqT'></bdo><ul id='tDHqT'></ul>
    3. 无法为 COPY 创建 docker 映像失败:stat/var/lib/docker

      时间:2023-09-10

        <tbody id='3RyGY'></tbody>

    4. <legend id='3RyGY'><style id='3RyGY'><dir id='3RyGY'><q id='3RyGY'></q></dir></style></legend>
    5. <small id='3RyGY'></small><noframes id='3RyGY'>

        1. <i id='3RyGY'><tr id='3RyGY'><dt id='3RyGY'><q id='3RyGY'><span id='3RyGY'><b id='3RyGY'><form id='3RyGY'><ins id='3RyGY'></ins><ul id='3RyGY'></ul><sub id='3RyGY'></sub></form><legend id='3RyGY'></legend><bdo id='3RyGY'><pre id='3RyGY'><center id='3RyGY'></center></pre></bdo></b><th id='3RyGY'></th></span></q></dt></tr></i><div id='3RyGY'><tfoot id='3RyGY'></tfoot><dl id='3RyGY'><fieldset id='3RyGY'></fieldset></dl></div>

            <bdo id='3RyGY'></bdo><ul id='3RyGY'></ul>
          • <tfoot id='3RyGY'></tfoot>
                本文介绍了无法为 COPY 创建 docker 映像失败:stat/var/lib/docker/tmp/docker-builder 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我想创建一个 docker 镜像.这是我的工作目录:Dockerfile.in test.json test.py

                I want to create a docker image. This is my work directory: Dockerfile.in test.json test.py

                这是我的 Dockerfile:

                And this is my Dockerfile:

                COPY ./test.json /home/test.json
                COPY ./test.py /home/test.py
                
                RUN python test.py
                

                当我启动这个命令时:docker build -f Dockerfile.in -t 637268723/test:1.0 .

                它给了我这个错误:

                `Step 1/5 : COPY ./test.json /home/test.json
                 ---> Using cache
                 ---> 6774cd225d60
                 Step 2/5 : COPY ./test.py /home/test.py
                 COPY failed: stat /var/lib/docker/tmp/docker-builder428014112/test.py: 
                 no such file or directory`
                

                谁能帮帮我?

                推荐答案

                你应该把这些文件和Dockerfile放在同一个目录下.

                You should put those files into the same directory with Dockerfile.

                这篇关于无法为 COPY 创建 docker 映像失败:stat/var/lib/docker/tmp/docker-builder 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Docker 输入文件并保存在输出中 下一篇:Docker Django 404 用于 web 静态文件,但适用于管理静

                相关文章

                最新文章

                <small id='S848z'></small><noframes id='S848z'>

                <i id='S848z'><tr id='S848z'><dt id='S848z'><q id='S848z'><span id='S848z'><b id='S848z'><form id='S848z'><ins id='S848z'></ins><ul id='S848z'></ul><sub id='S848z'></sub></form><legend id='S848z'></legend><bdo id='S848z'><pre id='S848z'><center id='S848z'></center></pre></bdo></b><th id='S848z'></th></span></q></dt></tr></i><div id='S848z'><tfoot id='S848z'></tfoot><dl id='S848z'><fieldset id='S848z'></fieldset></dl></div>

                <legend id='S848z'><style id='S848z'><dir id='S848z'><q id='S848z'></q></dir></style></legend>

                1. <tfoot id='S848z'></tfoot>
                    <bdo id='S848z'></bdo><ul id='S848z'></ul>