Difference between revisions of ".dockerignore"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | The <code>.dockerignore</code> file allows you to exclude files from the context like a . gitignore file allow you to exclude files from your git repository. You can use it to help avoid unnecessarily sending large or sensitive files and directories to the docker daemon. | + | The <code>.dockerignore</code> file allows you to exclude files from the context like a <code>.gitignore</code> file allow you to exclude files from your git repository. You can use it to help avoid unnecessarily sending large or sensitive files and directories to the docker daemon. |
Revision as of 16:25, 12 October 2021
The .dockerignore
file allows you to exclude files from the context like a .gitignore
file allow you to exclude files from your git repository. You can use it to help avoid unnecessarily sending large or sensitive files and directories to the docker daemon.
Related terms
docker-compose
.gitignore
file
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
.gitignore
file
Advertising: