swarm-api | javascript library for interacting with Swarm | Proxy library
kandi X-RAY | swarm-api Summary
kandi X-RAY | swarm-api Summary
A javascript library for interacting with Swarm, a decentralised and distributed storage platform. Under the hood, SwarmAPI uses the Swarm HTTP API to communicate with the Swarm gateway.
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 swarm-api
swarm-api Key Features
swarm-api Examples and Code Snippets
Community Discussions
Trending Discussions on swarm-api
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 swarm-api
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