Usage: dockerize [options] [command] Utility to simplify running applications in docker containers Options: -delims string template tag delimiters. default "{{":"}}" -no-overwrite Do not overwrite destination file if it already exists. -poll enable polling -stderr value Tails a file to stderr. Can be passed multiple times -stdout value Tails a file to stdout. Can be passed multiple times -template value Template (/template:/dest). Can be passed multiple times. Does also support directories -timeout duration Host wait timeout (default 10s) -version show version -wait value Host (tcp/tcp4/tcp6/http/https/unix/file) to wait for before this container starts. Can be passed multiple times. e.g. tcp://db:5432 -wait-http-header value HTTP headers, colon separated. e.g "Accept-Encoding: gzip". Can be passed multiple times -wait-retry-interval duration Duration to wait before retrying (default 1s) Arguments: command - command to be executed Examples: Generate /etc/nginx/nginx.conf using nginx.tmpl as a template, tail /var/log/nginx/access.log and /var/log/nginx/error.log, waiting for a website to become available on port 8000 and start nginx. dockerize -template nginx.tmpl:/etc/nginx/nginx.conf \ -stdout /var/log/nginx/access.log \ -stderr /var/log/nginx/error.log \ -wait tcp://web:8000 nginx For more information, see https://github.com/jwilder/dockerize