-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ch05 reverse-proxy has problems #17
Comments
I encountered this issue and resolved it by creating a new traefik docker image based on the ltsc2022 Windows Server Core base OS image. Docker Environment
Host Environment
Steps to setup reverse proxy:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Thank you for an excellent book. I have been reading and following through your examples and through the standardization that Docker provides, the examples still run as expected.
However, in Ch5, when I run ch05-run-nerd-dinner_part-2.ps1 ( after part-1 ), I noticed that while the reverse-proxy service does run, the transcript indicates some errors.
Log:
1 > time="2021-01-16T18:11:08-08:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: message readmode pipes not supported In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
2 > time="2021-01-16T18:11:08-08:00" level=error msg="Provider connection error Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: message readmode pipes not supported In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
Here is my Docker host environment :
Powershell : run as an Administrator, with ExecutionPolicy = RemoteSigned, All.
PC: Windows 10, 2004
Docker Desktop: 3.0.4
Docker Engine: 20.10.2
Tried the following :
Based on readmode pipes not supported In the default daemon configuration on Windows StefanScherer/dockerfiles-windows#383
2.Substitute sixeyed/traefik:v1.7.8-windowsservercore-ltsc2019 for a newer Traefix traefik:v2.3.7-windowsservercore-1809 failed with error :
Unfortunately sixeyed/traefik is a container, not an image and does not have the Dockerfile available for inspection.
Hopefully, you can provide some guidance to get your example working again.
Thanks,
The text was updated successfully, but these errors were encountered: