Kriuchko
2/11/2020 - 12:25 PM

MySQL


\!h See volume path in docker-compose.yml

volumes:
    - ./docker/db/data:/var/lib/mysql/

\!h Copy there your dump.sql

\!h Go to the container with MySQL
docker exec -it CONTAINER-ID bash

\!h Import
mysql -u USER -p DBNANE < dump.sql