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
docker-1.13.1-102.git7f2769b.el7.centos.x86_64 not taking logged in credentials while doing a --with-registry-auth in docker stack deploy to pull private images
#366
Open
anshupitlia opened this issue
Feb 3, 2020
· 1 comment
Describe the results you expected:
It should have pulled the image and run the service Additional information you deem important (e.g. issue happens only occasionally):
You can find the main issue raised here - moby#31534. It is solved using "--with-registry-auth" flag for almost other docker/os versions. This doesn't work here.
The text was updated successfully, but these errors were encountered:
We do not plan on any more updates to this version of Docker except to fix RHEL7 issues and CVEs on Fedora 30.
We are moving on to use Podman, Buildah, Skopeo, CRI-O as Docker replacements. If you find issues like this in Podman, or wish to have support for this in podman then open an issue in github.com/containers/libpod.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
on a docker login,
cat ~/.docker/config.json
Steps to reproduce the issue:
docker swarm init
docker stack deploy -c docker-compose.yml --with-registry-auth stackdemo
Describe the results you received:
with first attempt is doesn't give any error but docker stack ps stackdemo gives "No such image:image-name" error.
Second run
docker stack deploy --compose-file /tmp/docker-compose.yml --with-registry-auth stackdemo
it says unable to pin image private-container-registry/image-name:id to digest: Head https://private-container-registry/image-name/manifests/id: unauthorized: authentication required.
Describe the results you expected:
It should have pulled the image and run the service
Additional information you deem important (e.g. issue happens only occasionally):
You can find the main issue raised here - moby#31534. It is solved using "--with-registry-auth" flag for almost other docker/os versions. This doesn't work here.
The text was updated successfully, but these errors were encountered: