docker attach db or exec sql script code example
Example: launch sql script from docker in mysql
docker exec <container_id> /bin/sh -c 'mysql -u root -ppassword </dummy.sql'
docker exec <container_id> /bin/sh -c 'mysql -u root -ppassword </dummy.sql'