OS Manuals

/usr/bin/dockerize

Utility to simplify running applications in docker containers

From dockerize-fips 0.16.0-r0 (enterprise-packages), captured 2026-11-08 by running dockerize --help (exit 0). permalink

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
Options (11)
OptionDescriptionSource
-delims stringtemplate tag delimiters.help
-no-overwriteDo not overwrite destination file if it already exists.help
-pollenable pollinghelp
-stderr valueTails a file to stderr.help
-stdout valueTails a file to stdout.help
-template valueTemplate (/template:/dest).help
-timeout durationHost wait timeout (default 10s)help
-versionshow versionhelp
-wait valueHost (tcp/tcp4/tcp6/http/https/unix/file) to wait for before this container starts.help
-wait-http-header valueHTTP headers, colon separated.help
-wait-retry-interval durationDuration to wait before retrying (default 1s)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.