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.
Downgrading to Docker version 0.10 or under is not an option either, because I need the “host network” new feature.