3

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

simou
  • 2,467
  • 4
  • 30
  • 39

1 Answers1

1

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
Boris Treukhov
  • 17,493
  • 9
  • 70
  • 91
  • I ended up using wnameless' container (wnameless/docker-oracle-xe-11g) and with your hint I had no problems commiting the tablespace. – simou May 26 '15 at 06:56