docker / labs

This is a collection of tutorials for learning how to use Docker with various tools. Contributions welcome.
Apache License 2.0
11.52k stars 5.3k forks source link

Windows Registry: dockerd --unregister-service #435

Open pchidamb opened 5 years ago

pchidamb commented 5 years ago

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

StefanScherer commented 5 years ago

@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.

pchidamb commented 5 years ago

@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.

harryssuperman commented 1 year ago

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