How does .dockerignore handle exceptions?
.dockerignore
For example, I would like to ignore everything from the src/ directory except for src/web/p
src/
src/web/p
Just wanted to add in case others run into this question, that from docker 1.7.0 exclusions are supported in the .dockerignore file. So the example !src/web/public in the question actually works
!src/web/public
https://docs.docker.com/engine/reference/builder/#dockerignore-file