I have 3 containers. 1 db container. 1 that backups the db container and one that uploads the backup to google cloud storage.
What I want to happen:
my backup gets made
Once complete my backup container calls a script to run a new google cloud storage container which grabs the backup and uploads it.
Right now when I try and do this I keep getting the error:
/bin/bash: docker: command not found
How do I execute a
run command from within my
docker run --name mydb mongo:3.2.8 /entrypoint.sh docker run -ti -v $(pwd):/scripts --name dbBackup myBackupImage makePeriodicBackups.sh makePeriodicBackups.sh //make backups every night // docker run --rm -ti -v $(pwd):/scripts --name GoogleCloudStorage google/cloud-sdk /scripts/uploadscript.sh