Example docker compose save as ex. mysql-5.6-adminer.yml
version: '3.1'
services:
db56:
image: mysql:5.6
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: mysql56
adminer:
image: adminer
restart: always
ports:
- 8080:8080
Run docker-compose -f mysql-5.6-adminer.yml up
After finish, open browser and access localhost:8080, from adminer interface, fill Server with db56 base on compose file, user root and password mysql56