title: Cannot run sysctl command in Dockerfile
body: <p>I'm trying to make my first dockerfile(I'm new to this), and I need the system to run the command <code>sysctl -w kernel.randomize_va_space=0</code> (its an lab env.), but I get the error:</p>
  
  <blockquote>
    <p>sysctl: setting key "kernel.randomize_va_space": Read-only file
    system</p>
  </blockquote>
  
  <p>Whenever I try to build the dockerfile, any suggestion how to get this  around ?</p>
  
  <pre><code>FROM avatao/lesp:ubuntu-14.04
  
  USER root
  
  COPY ./solvable/ /
  
  RUN sysctl -w kernel.randomize_va_space=0
  
  VOLUME ["/tmp"]
  
  EXPOSE 2222
  
  WORKDIR /home/user/
  
  USER user
  
  CMD ["/usr/sbin/sshd", "-Df", "/etc/ssh/sshd_config_user"]
  </code></pre>