title: docker-compose / wordpress permissions error for volume mount
body: <p>my <strong>docker-compose.yml</strong></p>
  
  <pre><code>wordpress:
    image: wordpress
    links:
      - wordpress_db:mysql
    ports:
      - 8080:80
    volumes:
      - /tmp/html/:/var/www/html
  wordpress_db:
    image: mysql:5.6.29
    environment:
      MYSQL_ROOT_PASSWORD: password
  phpmyadmin:
    image: corbinu/docker-phpmyadmin
    links:
      - wordpress_db:mysql
    ports:
      - 8181:80
    environment:
      MYSQL_USERNAME: root
      MYSQL_ROOT_PASSWORD: password
  </code></pre>
  
  <p>when I do</p>
  
  <p><strong>sudo /usr/local/bin/docker-compose up</strong></p>
  
  <p>I'm getting a lot of these</p>
  
  <pre><code>wordpress_1     | tar: ./wp-content/plugins/akismet/views/stats.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/wrapper.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/.htaccess: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/class.akismet-widget.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/class.akismet-admin.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/class.akismet.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/readme.txt: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/index.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc: Cannot mkdir: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc/img: Cannot mkdir: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc/img/logo-full-2x.png: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc/form.js: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc/akismet.css: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/_inc/akismet.js: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/akismet.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/plugins/akismet/LICENSE.txt: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-content: Cannot mkdir: Permission denied
  wordpress_1     | tar: ./wp-content/index.php: Cannot open: No such file or directory
  wordpress_1     | tar: ./wp-trackback.php: Cannot open: Permission denied
  wordpress_1     | tar: ./wp-links-opml.php: Cannot open: Permission denied
  wordpress_1     | tar: ./wp-cron.php: Cannot open: Permission denied
  wordpress_1     | tar: ./wp-signup.php: Cannot open: Permission denied
  wordpress_1     | tar: .: Cannot utime: Permission denied
  wordpress_1     | tar: .: Cannot change ownership to uid 33, gid 33: Permission denied
  wordpress_1     | tar: .: Cannot change mode to rwxr-xr-x: Permission denied
  wordpress_1     | tar: Exiting with failure status due to previous errors
  </code></pre>
  
  <p>any ideas?</p>
  
  <p>I set 777 to /tmp/html</p>