Excercise
ch11/excercises/infrastructure
Page 191/192 in the book
Problem
Jenkins' build failed. All steps were successful, but there was a problem with connecting to registry.local:5000/diamol/ch11-numbers-api. I think the problem is in registry.local, because i use Docker Desktop and WSL on Windows11. The same setup worked on linux, but maybe you know how to fix it on windows.
[Pipeline] sh
./ci/03-push.bat
Pushing numbers-api (registry.local:5000/diamol/ch11-numbers-api:v3-build-2)...
The push refers to repository [registry.local:5000/diamol/ch11-numbers-api]
received unexpected HTTP status: 503 Service Unavailable
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
Docker version
Client: Docker Engine - Community
Cloud integration: v1.0.22
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:08:15 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Excercise ch11/excercises/infrastructure Page 191/192 in the book
Problem Jenkins' build failed. All steps were successful, but there was a problem with connecting to registry.local:5000/diamol/ch11-numbers-api. I think the problem is in registry.local, because i use Docker Desktop and WSL on Windows11. The same setup worked on linux, but maybe you know how to fix it on windows.
[Pipeline] sh
Docker version Client: Docker Engine - Community Cloud integration: v1.0.22 Version: 20.10.13 API version: 1.41 Go version: go1.16.15 Git commit: a224086 Built: Thu Mar 10 14:08:15 2022 OS/Arch: linux/amd64 Context: default Experimental: true
Server: Docker Desktop Engine: Version: 20.10.13 API version: 1.41 (minimum version 1.12) Go version: go1.16.15 Git commit: 906f57f Built: Thu Mar 10 14:06:05 2022 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.5.10 GitCommit: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc runc: Version: 1.0.3 GitCommit: v1.0.3-0-gf46b6ba docker-init: Version: 0.19.0 GitCommit: de40ad0
Code version commit 4c53485213f1672b8ca706e2dbaac388baaac61e (HEAD -> master, origin/master, local/master) Author: diamol ch11@gmail.com Date: Fri Mar 25 13:22:17 2022 +0100