Created
December 12, 2017 11:22
-
-
Save vkuznecovas/d2dc013b3f35d75d758083804f3c867a to your computer and use it in GitHub Desktop.
Interesting docker behaviour
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
FROM mysql:5.7.20 | |
WORKDIR /var/lib/mysql | |
# after this run, the a.txt is seen in /var/lib/mysql | |
RUN touch a.txt && ls -la | |
# after this run, the a.txt seems to be gone | |
RUN ls -la |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment