Bash scripting with docker exec when using variables
I'm trying to create a Bash script based on variables. It works well when I'm using bash command line via docker image: #docker exec app_mysql mysqldump --login-path=localroot masterdb | gzip > 1111111.sql.gz While I'm trying to reproduce the same via…