title: Bluemix ic run chown: changing ownership Permission denied
body: <p>I created and pushed to Bluemix an image <code>wp-mysql</code> with the following Dockerfile</p>
  
  <pre><code>FROM mysql
  ADD wordpress.sql /docker-entrypoint-initdb.d/wordpress.sql
  </code></pre>
  
  <p>I created a volume</p>
  
  <pre><code>sudo bluemix ic volume-create mysqlvolume 
  </code></pre>
  
  <p>And now try to deploy a Bluemix container from that image using</p>
  
  <pre><code>sudo bluemix ic run -it -m 256 --volume mysqlvolume:/var/lib/mysql -e  MYSQL_ROOT_PASSWORD=whatever --name wp-mysql registry.eu-gb.bluemix.net/whatever/wp-mysql-image-in-Bluemix
  </code></pre>
  
  <p>But I get</p>
  
  <pre><code>chown: changing ownership of '/var/lib/mysql/': Permission denied
  </code></pre>
  
  <p>I think it's related to <a href="https://stackoverflow.com/questions/31290202/can-i-change-owner-of-directory-that-is-mounted-on-volume-in-ibm-containers">this case</a>, but I don't know how to map the solution to my case.</p>