title: Docker-compose Mysql 8.0 default-authentication-plugin problem
body: <p>I am using docker-compose to build a web app with flask and mysql. I am using mysql:8.0 as base image for mysql, but I am facing issue with default-authentication-plugin. Here is my code...</p>
  
  <pre><code>version: "2"
  services:
    app:
      build: ./app
      links:
        - db
      ports:
        - "5000:5000"
  
    db:
      image: mysql
      ports:
        - "3306:3306"
      environment:
        MYSQL_ROOT_PASSWORD: root
      command: --default-authentication-plugin=mysql_native_password
      restart: always
  </code></pre>
  
  <p>Following error message appears</p>
  
  <pre><code>Authentication plugin 'caching_sha2_password' is not supported
  </code></pre>