docker run -e or docker run --env
Jump to navigation
Jump to search
Examples:
docker run --name some-mariadb -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:latest
Related terms[edit]
See also[edit]
docker run --env, Dockerfile: ENV, .env, --env-file
docker run [ -it | -d -it | --mount | --volume | --name | --env | --publish | --rm | --help ]
Advertising: