/etc/docker/daemon.json
Jump to navigation
Jump to search
/etc/docker/daemon.json
(Ref: https://docs.docker.com/engine/reference/commandline/dockerd/)
- In Ubuntu 20.04 LTS by default do not exists
/etc/docker/daemon.json
- macOS:
~/.docker/daemon.json
Options
{ "insecure-registries" : [ "hostname.cloudapp.net:5000" ] }
{ "data-root": "/srv/XXXX" }
"registry-mirrors":
Configure Docker as Prometheus target
https://docs.docker.com/config/daemon/prometheus/
{ "metrics-addr" : "127.0.0.1:9323", "experimental" : true }
Related terms
/var/lib/docker/
/var/lib/docker/containers/hash of the container/hostconfig.json
systemctl restart docker.service
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: