classicswarm | Swarm Classic : a container clustering system | Continuous Deployment library
kandi X-RAY | classicswarm Summary
kandi X-RAY | classicswarm Summary
Docker Swarm "Classic" is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of classicswarm
classicswarm Key Features
classicswarm Examples and Code Snippets
Community Discussions
Trending Discussions on classicswarm
QUESTION
I'm running a private docker registry. It works with docker login
followed by docker push
or docker pull
on both the manager as well as the workers.
However if a new worker joins the swarm it can't pull the images if a service is placed onto it.
So far I have tried the following things:
--with-registry-auth
when creating the services on the manager node.- ran
docker login
successfully at startup of worker nodes before joining the swarm - creating a
Auth-Header
on the worker following this instruction from classicswarm
None of which seem to work. The worker nodes still cant pull the images.
The registry always logs
error authorizing context: basic authentication challange for realm "Registry Realm": invalid authorization credentials
and returns a 401.
Does anyone have an idea on how to fix this or what the issue might be ?
When starting a stack on the manager node it can pull the images from the registry after setting the auth-header
like in the 3rd point.
ANSWER
Answered 2020-Sep-26 at 18:26docker logout hub-host
docker login hub-host
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install classicswarm
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page