Comments (10)
Some help on using the Go API to support authenticated registry interactions:
When used as a CRI provider, the CRI plugin has its own configuration for registry auth: https://github.com/containerd/cri/blob/master/docs/registry.md
When using the Go client API for containerd, you can see from the ctr images pull
implementation (as one example) how it sets up the NewDockerAuthorizer
using these helper functions: https://github.com/containerd/containerd/blob/master/cmd/ctr/commands/resolver.go
from faasd.
Thank you Alex!
from faasd.
@KaiWedekind are your repos public and without auth, just not on docker.io, or are they also private? We have two use-cases and Iād like to support it in two steps.
from faasd.
@alexellis I'm am using a self hosted GitLab and their container registry. My repos there are private.
I was using this line in my .gitlab-ci.yaml to login. Ref
- echo -n "$CI_DOCKER_LOGIN" | docker login --username admin --password-stdin registry.<HOST>.io
Build and push to the container registry works, it is just the deployment.
Thank you, Alex.
from faasd.
I suspect that a nice experience might be to have users copy their .docker/config.json
file to a known location, and for the faasd daemon to always use that to resolve images. A good location may be: /var/lib/faasd/.docker/config.json
The Docker config JSON file is also used in Kubernetes and can support multiple remotes.
from faasd.
Thank you @estesp
from faasd.
Added to Trello roadmap for 2020.
from faasd.
PR #41
from faasd.
Many thanks @AkihiroSuda
from faasd.
@KaiWedekind PTAL :)
from faasd.
Related Issues (20)
- Inter-function Communication Feature Asking HOT 5
- Support request for faasd and Go HOT 4
- Update to containerd 1.7.0 - last release with 32-bit Arm support
- Support request logging in HOT 2
- Issues with rust HOT 1
- Access host's network from a docker-compose.yaml's service HOT 5
- Support request for Docker installed with faasd (invalid) HOT 5
- Can docker-compose be used with faasd? HOT 8
- Support question on MQTT HOT 4
- Executing install.sh fails because of wrong version HOT 1
- Grafana installation - volume permissions HOT 2
- Multi-node support HOT 3
- Support request for monitoring with cAdvisor HOT 6
- NATS JetStream support HOT 2
- disable printing function invocation duration
- Terrraform install fails on macOS Sonoma HOT 2
- faasd and faasd provider in different ports HOT 1
- faasd namespace support openfaas=true instead of openfaas=1
- Is Scale to Zero included in the Community Edition of OpenFaaS? HOT 8
- support faasd get HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faasd.