How to circumvent “Read-only file system” error on Docker version 0.11 or greater when running sysctl -w during an image build?

I’m trying to build an oracle-xe Docker image to be used on acceptance tests. The build process is aborted after trying to install Oracle XE 11g using the following command inside my Dockerfile:

RUN yum localinstall -y /tmp/oracle-xe-11.2.0-1.0.x86_64.rpm

If I disable the script execution during rpm installation Oracle XE doesn’t work properly, so it is not an option.

  • Locale.Error with building python based docker
  • What should WSO2 APIM <localMemberHost> parameter contain in the config and what it is used by the APIM?
  • Connection Docker (IBM Integration Bus) to DataCache
  • Maven-Wrapper in jHipster inside Docker-Container: FileNotFoundException
  • data lost while restarting postgres with docker
  • Heredoc on docker exec
  • Downgrading to Docker version 0.10 or under is not an option either, because I need the “host network” new feature.

  • Symbolic Link Host to Docker Container
  • connection refused when trying to connect redis using docker compose file
  • How to overwrite default command when running docker image
  • Docker Swarm with Consul - Manager not electing primary
  • google container engine having problems pulling image from container registry
  • Where is the new docker hub api documentation?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.