simou
simou

Reputation: 2506

Error committing Oracle tablespace in Docker

I tried to "docker commit" the tablespace I created on a container that is based on alexeiled's oracle xe 11g container.

But I got this error:

FATA[0027] Error response from daemon: ApplyLayer exit status 1 stdout:  stderr: write /u01/app/oracle/oradata/XE/usr.dbf: read-only file system 

Why is it trying to write usr.dbf to a read-only filesystem?


Docker command: sudo docker commit d74005e729bd oracle-simou

Docker version: Docker version 1.5.0, build a8a31ef

Host OS: archlinux

Upvotes: 3

Views: 1026

Answers (1)

Boris Treukhov
Boris Treukhov

Reputation: 17774

Please ensure that you have enough free disk space for Docker container in docker graph, usually it's /var/lib/docker/graph.

If your /var space is limited, you can change docker root location by specifying -g option

-g, --graph="/var/lib/docker"          
Path to use as the root of the Docker runtime

Upvotes: 1

Related Questions