January 2, 2020

How to run multiple commands with ‘docker run’ command

Sometimes we need to run multiple shell commands in docker when we start the docker container To run multiple commands in docker, use /bin/bash -c and […]
October 16, 2018
multiline shell

multiline shell command in entrypoint of docker-compose file

Sometimes we need to execute multiline shell commands in entrypoint element of docker-compose file. Also for program readability perspective, its good idea to split the long […]
March 26, 2018
docker compose

Docker compose : Install from ec2 userdata

In some common situation like setting up testing or staging environment with ec2 instances, we need docker and docker compose installed to them. Although we can […]