Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Switch Windows Kubernetes nodes to Docker EE 18.03 from 17.06 #3852

Closed
PatrickLang opened this issue Sep 15, 2018 · 3 comments
Closed

Switch Windows Kubernetes nodes to Docker EE 18.03 from 17.06 #3852

PatrickLang opened this issue Sep 15, 2018 · 3 comments
Labels

Comments

@PatrickLang
Copy link
Contributor

PatrickLang commented Sep 15, 2018

Docker EE 18.03 is available. It's needed for symlinks to work on Windows Server version 1803 and later. We should switch from Docker EE 17.06 to 18.03 for Kubernetes deployments.

This should also be configurable with the dockerEngineVersion cluster definition parameter, but it doesn't work on Windows. It would be best to implement that, and default to 18.03 for Windows only

See past issue #3458

You can see available versions with

Find-Package -Name Docker -ProviderName DockerMsftProvider -AllVersions

Name                           Version          Source           Summary
----                           -------          ------           -------
Docker                         17.06.2-ee-16    DockerDefault    Contains Docker EE for use with Windows Server.
Docker                         18.03.1-ee-3     DockerDefault    Contains Docker EE for use with Windows Server.

Affected conformance tests are listed in https://trello.com/c/B34UzBfA/48-docker-version-is-outdated-on-new-deployments

@PatrickLang
Copy link
Contributor Author

Here's how to see installed version

Get-Package -Name Docker -ProviderName DockerMsftProvider

Name                           Version          Source                           ProviderName
----                           -------          ------                           ------------
docker                         17.06.2-ee-16    DockerDefault                    DockerMsftProvider

available versions

Find-Package -Name Docker -ProviderName DockerMsftProvider -AllVersions

Name                           Version          Source           Summary
----                           -------          ------           -------
Docker                         17.06.2-ee-16    DockerDefault    Contains Docker EE for use with Windows Server.
Docker                         18.03.1-ee-3     DockerDefault    Contains Docker EE for use with Windows Server.

Upgrade

Install-Package -Name Docker -ProviderName DockerMsftProvider -Update -Force -RequiredVersion 18.
03

Name                           Version          Source           Summary
----                           -------          ------           -------
Docker                         18.03.1-ee-3     DockerDefault    Contains Docker EE for use with Windows Server.
PS C:\> net start docker
The Docker service is starting.
The Docker service was started successfully.

PS C:\> docker version
Client:
 Version:           18.03.1-ee-3
 API version:       1.37
 Go version:        go1.10.2
 Git commit:        b9a5c95
 Built:             Thu Aug 30 18:42:35 2018
 OS/Arch:           windows/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.03.1-ee-3
  API version:      1.37 (minimum version 1.24)
  Go version:       go1.10.2
  Git commit:       b9a5c95
  Built:            Thu Aug 30 18:56:49 2018
  OS/Arch:          windows/amd64
  Experimental:     false

@PatrickLang
Copy link
Contributor Author

PatrickLang commented Oct 19, 2018

This is blocked on the issue described in kubernetes/kubernetes#69996

I don't know whether a Docker or Kubernetes fix is needed yet

@CecileRobertMichon
Copy link
Contributor

fixed in #4223

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants