title: Unable to start mysql with docker on Ubuntu 16.04
body: <p>Am Unable to start mysql with docker on Ubuntu. Get the following error:</p>
  
  <blockquote>
    <p>db_1_cc1214d5085c | ERROR: mysqld failed while attempting to check
    config db_1_cc1214d5085c | command was: "mysqld --verbose --help"
    db_1_cc1214d5085c | db_1_cc1214d5085c | mysqld: error while loading
    shared libraries: libpthread.so.0: cannot stat shared object:
    Permission denied</p>
  </blockquote>
  
  <p>Content of docker compose file:</p>
  
  <pre><code>version: '2.4'
  
  services:
  
    db:
      image: mysql:5.7
      ports:
        - "32000:3306"
      environment:
        MYSQL_ROOT_PASSWORD: root
  #   restart: always
      volumes:
       - ./data/db:/var/lib/mysql
  </code></pre>
  
  <p>Docker details:</p>
  
  <pre><code>Client:
   Version:           18.09.0
   API version:       1.39
   Go version:        go1.10.4
   Git commit:        4d60db4
   Built:             Wed Nov  7 00:48:57 2018
   OS/Arch:           linux/amd64
   Experimental:      false
  </code></pre>
  
  <p>Server: Docker Engine - Community</p>
  
  <pre><code>Engine:
    Version:          18.09.0
    API version:      1.39 (minimum version 1.12)
    Go version:       go1.10.4
    Git commit:       4d60db4
    Built:            Wed Nov  7 00:16:44 2018
    OS/Arch:          linux/amd64
    Experimental:     false
  </code></pre>
  
  <p>Also worth noting is that there is a non dockerized versionof MySQL installed and running on this server. Any help will be appreciated.</p>