Difference between revisions of ".dockerignore"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== Related terms == | == Related terms == | ||
* <code>[[docker-compose]]</code> | * <code>[[docker-compose]]</code> | ||
+ | * <code>[[docker build]]</code> | ||
* <code>[[.gitignore]]</code> file | * <code>[[.gitignore]]</code> file | ||
Revision as of 06:04, 28 June 2022
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
See also
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
- 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: