-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It is not possible to use the install script to:
- Update Docker unless you remove the Docker Service
- Retain your Docker service configuration (
C:\ProgramData\docker\config\daemon.json
) after updating, as the script deletes the settings, technically conducting a clean install
I would like for the install-docker-ce.ps1
script to detect a previous installation and update accordingly, without deleting the configuration settings of a deployed instance.
Currently I have to perform the following:
- Run
Stop-Service Docker
- Run
Remove-Service Docker
- Backup the config file
C:\ProgramData\docker\config\daemon.json
- Run the
install-docker-ce.ps1
script - Run
Stop-Service Docker
- Restore the
daemon.json
config file on theC:\ProgramData\docker\config\
path - Run
Start-Service Docker
I am currently using Windows Server 2025 with the latest patches available.
Copilot, piyush94 and jankap
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request