我在构建码头图像时会出现这个错误。我正在处理一个ec2实例的非根用户。
守护进程的
错误响应:错误处理tar文件(退出状态1):写入设备上没有空间的
在构建此Dockerfile的映像时。
FROM rasa/rasa-sdk:1.8.0
# Use subdirectory as working directory
WORKDIR /chatbot/apps/docker_images/rasa/app
# Copy any additional custom requirements, if necessary (uncomment next line)
COPY actions/requirements-actions.txt ./
# Change back to root user to install dependencies
#USER root
# Install extra requirements for actions code, if necessary (uncomment next line)
RUN pip install -r requirements-actions.txt
# Copy actions folder to the working directory
COPY ./actions /app/actions
CMD ["start","--actions","actions"]
# By best practices, don't run the code with root user
#RUN groupadd -g 1000 nonroot && \
# useradd -r -u 1000 -g nonroot nonroot
USER chatbot--我是码头新手,指导我解决这个问题对
会有很大帮助
发布于 2020-06-29 07:00:28
设备上的空间可能已经耗尽了。首先,我们使用df命令检查剩余图像,列出图像,并清理容器没有使用的所有图像。
$ df
$ docker image ls
$ docker image ls | grep none | awk "{print $3}" | xargs docker rmi这将清除所有的图像显示为零。
https://stackoverflow.com/questions/62632388
复制相似问题