.dockerinit / .dockerenv

652 views
Skip to first unread message

nicolas de loof

unread,
Sep 12, 2015, 8:23:56 AM9/12/15
to docker-dev
Hi,

I've noticed docker container do have /.dockerinit  and /.dockerenv injected, I wonder what they are used for and it it would be considered safe to rely on them to detect I'm running inside a docker container, or this is just implementation details I should ignore.

Cheers,
Nicolas
Reply all
Reply to author
Forward
0 new messages