docker - Docker:设备上没有剩余空间
问题描述
我尝试使用以下 Dockerfile 构建 docker 映像
FROM jupyter/datascience-notebook
RUN pip install jupyterhub==0.8.0 && \
pip install s3contents && \
pip install nose dask toolz
# Install R kernel
RUN conda install -c r r-irkernel r-essentials r-base -y
# Install Data Science Package
RUN pip install sagemaker && \
conda install -y pandas
COPY jupyter_notebook_config.py /etc/jupyter/
CMD ["jupyterhub-singleuser"]
# build
# docker build -t singleuser --build-arg BASE_IMAGE=jupyter/scipy-notebook --build-arg JUPYTERHUB_VERSION=0.8.0 .
在一台32G内存,80G磁盘空间的机器上,仅用于本次构建
但错误
failed to register layer: Error processing tar file(exit status 1): write /opt/julia/v0.6/HDF5/deps/usr/include/H5overflow.h: no space left on device
df -a 的结果
Filesystem 1K-blocks Used Available Use% Mounted on
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devtmpfs 16461060 56 16461004 1% /dev
devpts 0 0 0 - /dev/pts
tmpfs 16471592 0 16471592 0% /dev/shm
/dev/xvda1 8123812 1319984 6703580 17% /
devpts 0 0 0 - /dev/pts
none 0 0 0 - /proc/sys/fs/binfmt_misc
cgroup 0 0 0 - /cgroup/blkio
cgroup 0 0 0 - /cgroup/cpu
cgroup 0 0 0 - /cgroup/cpuacct
cgroup 0 0 0 - /cgroup/cpuset
cgroup 0 0 0 - /cgroup/devices
cgroup 0 0 0 - /cgroup/freezer
cgroup 0 0 0 - /cgroup/hugetlb
cgroup 0 0 0 - /cgroup/memory
cgroup 0 0 0 - /cgroup/perf_event
/dev/xvda1 8123812 1319984 6703580 17% /var/lib/docker
解决方案
推荐阅读
- javascript - Recharts,在悬停时更改条形图中条形的背景颜色
- ios - 如何在 iOS 15 及更早版本上支持程序化视图关闭
- rally - 如何在 Rally 中使用 Attributes api 获取实际允许值而不是对其进行引用
- javascript - 我无法在 java-script 中获取“else if”部分代码以进行表单验证
- c++ - 初始化类的静态成员,该成员本身就是子类中的一个类
- android - USB 摄像头与 Android 中的 Innovatrics DOT SDK 集成
- visual-studio-code - 我可以在 Visual Studio 代码中添加自定义默认代码吗
- python - 将 2 个向量的元素转换为矩阵的 Python 乘积
- java - 如何在开发 Harmony 应用程序时将标签内的图像添加为图标?
- unity3d - Unity 2d 中是否有任何功能,当我死时游戏结束屏幕只有在死亡动画完成后才会出现