Difference between revisions of "Docker run -e or docker run --env"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
== Related terms == | == Related terms == | ||
− | * [[environment:]] | + | * <code>[[environment:]]</code> |
* [[ENV]] | * [[ENV]] | ||
* <code>[[--env-file]]</code> | * <code>[[--env-file]]</code> |
Revision as of 11:07, 17 November 2022
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
See also
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: