Created
May 18, 2020 10:41
-
-
Save tamuhey/c6e2c0347c73ad388fd5ad0ca3e62b6f to your computer and use it in GitHub Desktop.
docker_list_context.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t test . <<EOF | |
FROM busybox | |
RUN mkdir /tmp/build/ | |
# Add context to /tmp/build/ | |
COPY . /tmp/build/ | |
EOF | |
docker run --rm -it test find /tmp/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl https://gist.githubusercontent.com/tamuhey/c6e2c0347c73ad388fd5ad0ca3e62b6f/raw/e754301eba0c29d6d477b7a2b6dafa444021c67d/docker_show_context.sh | bash