To dump from mysql in docker container you should run mysqldump command with argument --protocol=TCP. Example:
mysqldump --protocol=TCP -usomeUser -p db_name > db.sql
At your implementation (src/Cli/Executable/Mysqldump.php) you have no option protocol and because of this it is unable to use your tool when DB is run in docker container.
This case is useful when you want to make backups outside of your DB container.
To dump from mysql in docker container you should run mysqldump command with argument --protocol=TCP. Example:
mysqldump --protocol=TCP -usomeUser -p db_name > db.sqlAt your implementation (src/Cli/Executable/Mysqldump.php) you have no option protocol and because of this it is unable to use your tool when DB is run in docker container.
This case is useful when you want to make backups outside of your DB container.