diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2021-03-18 21:01:46 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2021-06-03 21:16:21 +0200 |
commit | e047d984dcc7998dea299e6285ed46e51f120ab8 (patch) | |
tree | a56e6b61c265d323d714deca77b52d0f06518b1e /container | |
parent | a77317882d010b884a9101c6ad0b2d7db141082f (diff) | |
download | docker-e047d984dcc7998dea299e6285ed46e51f120ab8.tar.gz |
Remove LCOW code (step 1)
The LCOW implementation in dockerd has been deprecated in favor of re-implementation
in containerd (in progress). Microsoft started removing the LCOW V1 code from the
build dependencies we use in Microsoft/opengcs (soon to be part of Microsoft/hcshhim),
which means that we need to start removing this code.
This first step removes the lcow graphdriver, the LCOW initialization code, and
some LCOW-related utilities.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'container')
-rw-r--r-- | container/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/container.go b/container/container.go index f6c7d51c55..84ce8e853a 100644 --- a/container/container.go +++ b/container/container.go @@ -746,7 +746,7 @@ func (container *Container) CreateDaemonEnvironment(tty bool, linkedEnv []string } env := make([]string, 0, envSize) - if runtime.GOOS != "windows" || (runtime.GOOS == "windows" && os == "linux") { + if runtime.GOOS != "windows" { env = append(env, "PATH="+system.DefaultPathEnv(os)) env = append(env, "HOSTNAME="+container.Config.Hostname) if tty { |