我有一个dockerfile,它运行得非常好。突然,我开始得到这个错误:
ApplyLayer exit status 1 stdout: stderr: write /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: no space left on device
##[error]ApplyLayer exit status 1 stdout: stderr: write /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: no space left on device
##[error]The process '/usr/bin/docker' failed with exit code 1
我不知道如何解决这个问题。我在docerfile中尝试了docker prune
,但得到了相同的错误。请帮忙吗?
您的docker硬盘空间不足
您可以使用以下命令增加docker的空间或删除数据:
docker system prune
输出:
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all dangling build cache
Are you sure you want to continue? [y/N]
您键入y
以接受。