在 Docker 中提交 Oracle 表空间时出错
Error committing Oracle tablespace in Docker
我试图 "docker commit" 我在基于 alexeiled's oracle xe 11g container 的容器上创建的表空间。
但是我得到了这个错误:
FATA[0027] Error response from daemon: ApplyLayer exit status 1 stdout: stderr: write /u01/app/oracle/oradata/XE/usr.dbf: read-only file system
为什么要尝试将 usr.dbf 写入只读文件系统?
Docker 命令:sudo docker commit d74005e729bd oracle-simou
Docker 版本:Docker 版本 1.5.0,构建 a8a31ef
主机OS:archlinux
请确保您有足够的可用磁盘 space 用于 docker 图中的 Docker 个容器,通常是 /var/lib/docker/graph
。
如果您的 /var
space 受到限制,您可以通过指定 -g
选项
来更改 docker 根位置
-g, --graph="/var/lib/docker"
Path to use as the root of the Docker runtime
我试图 "docker commit" 我在基于 alexeiled's oracle xe 11g container 的容器上创建的表空间。
但是我得到了这个错误:
FATA[0027] Error response from daemon: ApplyLayer exit status 1 stdout: stderr: write /u01/app/oracle/oradata/XE/usr.dbf: read-only file system
为什么要尝试将 usr.dbf 写入只读文件系统?
Docker 命令:sudo docker commit d74005e729bd oracle-simou
Docker 版本:Docker 版本 1.5.0,构建 a8a31ef
主机OS:archlinux
请确保您有足够的可用磁盘 space 用于 docker 图中的 Docker 个容器,通常是 /var/lib/docker/graph
。
如果您的 /var
space 受到限制,您可以通过指定 -g
选项
-g, --graph="/var/lib/docker"
Path to use as the root of the Docker runtime