Skip to content

Inspect the build context sent to the Docker builder πŸ³πŸ“¦πŸ•΅οΈβ€β™‚οΈ

Notifications You must be signed in to change notification settings

gforien/docker-inspect-build-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

docker-inspect-build-context

To Inspect the build context sent to the Docker builder πŸ“¦πŸ•΅οΈ

1. Inspect the working folder with ncdu, gdu, WinDirStat or other

2. Clean Docker caches

# (!) WARNING : these command will NOT prompt for confirmation
docker builder prune -f
docker image prune -f

3. Build and launch image gforien/inspect-context in the working directory

d build . -t gforien/inspect-context -f ./Dockerfile.inspect-context
d run --rm -it gforien/inspect-context

4. Include more files in the .dockerignore

See also this answer on Stackoverflow.

Gabriel FORIEN
INSA Lyon

About

Inspect the build context sent to the Docker builder πŸ³πŸ“¦πŸ•΅οΈβ€β™‚οΈ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published