build context for docker image very large

后端 未结 10 891

I have created a couple different directories on my host machine as I try to learn about Docker just to keep my dockerfiles organized. My Dockerfile I just ran looks like t

10条回答
  •  一个人的身影
    2020-12-12 12:55

    if you are creating image and getting message sending build context to docker daemon which is taking log time to copy,

    then add .dockerignore file. it should include the files or directory which does not need to be copied.

提交回复
热议问题