1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #815 from sammyshj/removedockerinit

Removed dockerinit reference
This commit is contained in:
Jana Radhakrishnan 2015-12-17 12:30:18 -08:00
commit bade8d63ae

View file

@ -157,6 +157,6 @@ func isPacketForwardingEnabled(ipVer ipVersion, iface string) (bool, error) {
}
func isRunningInContainer() bool {
_, err := os.Stat("/.dockerinit")
_, err := os.Stat("/.dockerenv")
return !os.IsNotExist(err)
}