Docker构建永远运行,并占用无限的空间
首先,我构建了一个dockerfile,在其中编写了简单的代码:
FROM centos
RUN echo "first commit" > /tmp/file1
然后,为了从这个dockerfile制作docker映像,我写了命令:
docker build -t <image_name> .
但是,在击中Enter Enter上,它永远流动并继续占用空间,直到我强行停止命令。它表明
Sending build context to Docker daemon <space which is continuously inceasing>
请帮助。
谢谢。
First I have build a Dockerfile in which I wrote the simple code :
FROM centos
RUN echo "first commit" > /tmp/file1
then for making the docker image from this Dockerfile I wrote the command :
docker build -t <image_name> .
but after hitting enter it goes forever and continuosly taking space until I forcefully stopped the command. It show
Sending build context to Docker daemon <space which is continuously inceasing>
Please help with this.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论