Monday, June 13, 2016

Concatenating commands in docker-compsoe

So sometimes you want to concatenate multiple commands in one `command` directive in your docker-compose script. Trying to use && or ; didn't work for me. But this did:

 command: bash -c "command1 && command2  etc"

No comments:

Post a Comment