You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow the instructions on the Kaniko page Pushing to Amazon ECR (using the gcr.io/kaniko-project/executor:debug image), I get an error
ERRO[0022] Failed to push to destination ....amazonaws.com/...
ERRO[0022] unsupported status code 401; body: Not Authorized
The instructions currently say to mount the docker configmap to /root/.docker. I noticed that one of the environment variables in the image is DOCKER_CONFIG=/kaniko/.docker/ so when I mount the configmap to /kaniko/.docker, the credentials are detected and the push succeeds.
Is this just a documentation update?
The text was updated successfully, but these errors were encountered:
When I follow the instructions on the Kaniko page Pushing to Amazon ECR (using the gcr.io/kaniko-project/executor:debug image), I get an error
The instructions currently say to mount the docker configmap to
/root/.docker
. I noticed that one of the environment variables in the image isDOCKER_CONFIG=/kaniko/.docker/
so when I mount the configmap to/kaniko/.docker
, the credentials are detected and the push succeeds.Is this just a documentation update?
The text was updated successfully, but these errors were encountered: