Open anshupitlia opened 4 years ago
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 - https://github.com/moby/moby/issues/31534. It is solved using "--with-registry-auth" flag for almost other docker/os versions. This doesn't work here.