OneGet / MicrosoftDockerProvider

Provider to search, save and install Docker
Other
133 stars 55 forks source link

Updating the package should start Docker service again #17

Closed StefanScherer closed 6 years ago

StefanScherer commented 7 years ago

I did some update tests from 1.12 CS to 1.13.1 CS with

Install-Package -Name docker -ProviderName DockerMsftProvider -MinimumVersion 1.13.1 -Force

But afterwards the Docker service isn't running and so the upcoming docker commands fail. I have expected that the Docker service is running after the update.

sixeyed commented 7 years ago

Agreed. After updating you need to run:

Set-Service docker -StartupType Automatic
Start-Service docker

Ideally the update should check the current startup type before upgrading, and set the new version to the same.

StefanScherer commented 6 years ago

The recommended provider DockerProvider does restart automatically.