title: Docker mysql stop with exit(1)
body: <p>I was trying to bring up my MySql in the docker container. But, it stopped with code exited(1). Here is how I run it:</p>
  
  <p><code>docker run --name demo-db -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password -d mysql:latest --mount type=bind,source=$(pwd),target=/var/lib/mysql</code></p>
  
  <p>Here is the log of the container</p>
  
  <pre>Initializing database
  2018-10-12T17:50:42.694183Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
  2018-10-12T17:50:42.694277Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.12) initializing of server in progress as process 31
  mbind: Operation not permitted
  mbind: Operation not permitted
  mbind: Operation not permitted
  mbind: Operation not permitted
  2018-10-12T17:51:10.497527Z 0 [ERROR] [MY-011071] [Server] unknown option '--mount'
  2018-10-12T17:51:10.497543Z 0 [Warning] [MY-010952] [Server] The privilege system failed to initialize correctly. If you have upgraded your server, make sure you're executing mysql_upgrade to correct the issue.
  2018-10-12T17:51:10.497551Z 0 [ERROR] [MY-010119] [Server] Aborting
  2018-10-12T17:51:14.130241Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.12)  MySQL Community Server - GPL.</pre>
  
  <p>Please help me...</p>