title: mysql 8 --skip-symbolic-links
body: <p>I am creating a service in docker-compose.
  Look for the problem. In the net. most of them ask me to change mysql version.
  The code I have in my dockerfile is:</p>
  
  <pre><code>FROM mysql:8
  
  COPY docker-initdb.sql /docker-entrypoint-initdb.d/initdb.sql
  
  RUN ["mysqld", "--skip-mysqlx", "--default-authentication-plugin=mysql_native_password"]
  </code></pre>
  
  <p>I have this exception. when executing</p>
  
  <pre><code>    Step 3/3 : RUN ["mysqld", "--skip-mysqlx", "--default-authentication-plugin=mysql_native_password"]
   ---&gt; Running in 33916b9536b9
  2019-08-22T17:35:34.255249Z 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.
  2019-08-22T17:35:34.255316Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17) starting as process 1
  2019-08-22T17:35:34.258135Z 0 [ERROR] [MY-010123] [Server] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
  2019-08-22T17:35:34.258191Z 0 [ERROR] [MY-010119] [Server] Aborting
  2019-08-22T17:35:34.259440Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.17)  MySQL Community Server - GPL.
  </code></pre>
  
  <p>Thank you.</p>