Issue with docker and mysql

when i try to start mysql container it fails with the following error:

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

following are the contents of my docker-compose file:

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

any help will be highly appreciated, let me know if any further information is required

OS - ubuntu 16.04

docker version:

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

Server: Docker Engine - Community
 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

So i really dont know what the issue was but a server restart resolved the issue. Also interesting to note that I have been having issues with server capacity when i run 5-6 docker containers before this.