labs icon indicating copy to clipboard operation
labs copied to clipboard

Windows Registry: dockerd --unregister-service

Open pchidamb opened this issue 7 years ago • 3 comments

I am unable to go to powershell and get dockerd --unregister-service command to work. Restarting docker from the GUI without registering the service changes the ip address of the registry. Can someone provide an equivalent command.@StefanScherer

PS P:> docker version Client: Version: 18.06.1-ce API version: 1.38 Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:21:34 2018 OS/Arch: windows/amd64 Experimental: false

Server: Engine: Version: 18.06.1-ce API version: 1.38 (minimum version 1.24) Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:36:40 2018 OS/Arch: windows/amd64 Experimental: false

pchidamb avatar Nov 16 '18 22:11 pchidamb

@pchidamb Can you share some more details about your host environment? I guess you're running Windows 10 with Docker for Windows, is this correct?

I think you have problems here https://github.com/docker/labs/blame/master/windows/registry/part-2.md#L54 This lab was made using a Windows Server 2016 machine, so we probably have to mention that and see how the lab can be adjusted to work for Windows 10 as well.

StefanScherer avatar Nov 17 '18 09:11 StefanScherer

@StefanScherer . I am using a Windows 10 machine and not a Windows Server 2016 machine. I am running Docker Community Edition for Windows and have selected Windows containers. I will attempt to find equivalent instructions. What I noticed is that restarting docker from the GUI without registering the service changes the ip address of the registry and the dockerd command does not work . Any suggestions would be appreciated.

pchidamb avatar Nov 19 '18 16:11 pchidamb

Hi @StefanScherer and @pchidamb, the issue can be closed. I've already run de --unregister-service under windows 10 and service was completely removed.

harryssuperman avatar Jun 15 '23 19:06 harryssuperman