Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 430 Bytes

testing.md

File metadata and controls

16 lines (9 loc) · 430 Bytes

Testing the Image

MySQL

  • Run MySQL in a separate container:

    docker run --name=mysqld -d -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -p 3306:3306 mysql:8.0 --default-authentication-plugin=mysql_native_password
    
  • Create a database:

    docker run -it --rm mysql mysql -h host.docker.internal --execute 'CREATE DATABASE flipr'
    
  • Test with the URI db:mysql://[email protected]/flipr.