moby/opts
Doug Davis 9ab73260f8 Docker run -e FOO should erase FOO if FOO isn't set in client env
See #10141 for more info, but the main point of this is to make sure
that if you do "docker run -e FOO ..." that FOO from the current env
is passed into the container.  This means that if there's a value, its
set.  But it also means that if FOO isn't set then it should be unset in
the container too - even if it has to remove it from the env.  So,
   unset HOSTNAME
   docker run -e HOSTNAME busybox env
should _NOT_ show HOSTNAME in the list at all

Closes #10141

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-01-19 08:00:32 -08:00
..
envfile.go env-file: variable behavior 2014-03-31 14:45:13 -04:00
ip.go Fix inconsistency in IP address parsing errors 2014-08-13 19:25:51 +00:00
opts.go Docker run -e FOO should erase FOO if FOO isn't set in client env 2015-01-19 08:00:32 -08:00
opts_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00