when execute delimiter/build: `push_image delimiter:latest`
[error] The push refers to repository [$DOCKER_REGISTRY_HOST:5001/delimiter] Get http://$DOCKER_REGISTRY_PORT:5001/v2/: dial tcp $DOCKER_REGISTRY_HOST:5001:connect: connection refused
[why] container registry service port is 5001, connect failed 5001 because registry not ready, so add build-depends.
Signed-off-by: Liu Yinsi liuyinsi@163.com --- container/delimiter/build-depends | 1 + 1 file changed, 1 insertion(+) create mode 100755 container/delimiter/build-depends
diff --git a/container/delimiter/build-depends b/container/delimiter/build-depends new file mode 100755 index 0000000..14bc599 --- /dev/null +++ b/container/delimiter/build-depends @@ -0,0 +1 @@ +registry
On Wed, Feb 03, 2021 at 09:36:47AM +0800, Liu Yinsi wrote:
when execute delimiter/build: `push_image delimiter:latest`
[error] The push refers to repository [$DOCKER_REGISTRY_HOST:5001/delimiter] Get http://$DOCKER_REGISTRY_PORT:5001/v2/: dial tcp $DOCKER_REGISTRY_HOST:5001:connect: connection refused
push image should not execute in $container/build script, because push image has no relationship whit build container
Thanks, Shenwei
[why] container registry service port is 5001, connect failed 5001 because registry not ready, so add build-depends.
Signed-off-by: Liu Yinsi liuyinsi@163.com
container/delimiter/build-depends | 1 + 1 file changed, 1 insertion(+) create mode 100755 container/delimiter/build-depends
diff --git a/container/delimiter/build-depends b/container/delimiter/build-depends new file mode 100755 index 0000000..14bc599 --- /dev/null +++ b/container/delimiter/build-depends @@ -0,0 +1 @@
+registry
2.23.0
On Wed, Feb 03, 2021 at 09:57:54AM +0800, Xiao Shenwei wrote:
On Wed, Feb 03, 2021 at 09:36:47AM +0800, Liu Yinsi wrote:
when execute delimiter/build: `push_image delimiter:latest`
[error] The push refers to repository [$DOCKER_REGISTRY_HOST:5001/delimiter] Get http://$DOCKER_REGISTRY_PORT:5001/v2/: dial tcp $DOCKER_REGISTRY_HOST:5001:connect: connection refused
push image should not execute in $container/build script, because push image has no relationship whit build container
If there is other images need push, we will use a container/script do the action.
Thanks, Xueliang
Thanks, Shenwei
[why] container registry service port is 5001, connect failed 5001 because registry not ready, so add build-depends.
Signed-off-by: Liu Yinsi liuyinsi@163.com
container/delimiter/build-depends | 1 + 1 file changed, 1 insertion(+) create mode 100755 container/delimiter/build-depends
diff --git a/container/delimiter/build-depends b/container/delimiter/build-depends new file mode 100755 index 0000000..14bc599 --- /dev/null +++ b/container/delimiter/build-depends @@ -0,0 +1 @@
+registry
2.23.0