Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interesting docker behaviour
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
You can’t perform that action at this time.