Skip to content

Instantly share code, notes, and snippets.

@vkuznecovas
vkuznecovas / Dockefile
Created Dec 12, 2017
Interesting docker behaviour
View Dockefile
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.