--cache-image
and --publish
do not work with remote docker builder
#1991
Labels
Milestone
--cache-image
and --publish
do not work with remote docker builder
#1991
Summary
I am running remote docker builder on TCP port (
tcp://localhost:2375
, no TLS).When running
pack build
command with--publish
and--image-cache
flags I receive unauthorized error. Alldocker
CLI commands (pull, push) work normally.Reproduction
Steps
Create Private registry in Harbor and robot account with read/write credentials.
Create a Pod in Kubernetes:
Exec into docker container.
Download pack binary.
Run following commands:
OUTPUT
See that the builder image was pulled, but the authorization to Harbor failed.
Current behavior
Authorization to registry failed.
Expected behavior
Cache image pushed to Harbor.
Build Image pushed to Harbor.
Environment
pack info
docker info
The text was updated successfully, but these errors were encountered: