Comments (3)
Does it work fine without the extra
[host]
in there?
No, it does not work at all without the [host]
in there. You could also add a [host."example.com"]
entry but I don't need to configure any mirrors, I just want to set the ca for this registry namespace.
That shouldn't be a valid configuration
Nowhere in the docs does it indicate that you MUST have a host tree. If you just want to configure TLS for the registry namespace without specifying any mirrors, having root fields set without a host tree (ie no host blocks) is a perfectly valid use case.
from containerd.
The change from #9131 appears to have refactored some of this, but I'm not sure if it actually resolved the issue or not.
It does still affect the 1.7 branch:
https://github.com/containerd/containerd/blob/v1.7.14/remotes/docker/config/hosts.go#L529-L534
from containerd.
root@systemd-node-1:/# cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/172-17-0-7.sslip.io/hosts.toml ca = ["/usr/local/share/ca-certificates/registry.crt"] [host]
Does it work fine without the extra [host]
in there? That shouldn't be a valid configuration, although it should be handled more gracefully.
from containerd.
Related Issues (20)
- Add support for container restore from a checkpoint in Kubernetes
- ExecSync did not return according to the timeout set in the request HOT 11
- [1.6/1.7] kubernetes ephemeral-storage limits not enforced with remote snapshotters HOT 3
- Executing 'nsenter -at pid' to enter a container does not generate any logs. HOT 1
- imageverifier plugin CLI Arguments format issue HOT 6
- io.containerd.grpc.v1.cri config does not migrate
- `containerd config default` uses `io.containerd.cri.v1.runtime`, while doc uses `io.containerd.grpc.v1.cri` HOT 2
- ctr pull images err archive/tar: invalid tar header: unknown HOT 5
- kubelet and containerd in endless loop for CreateContainer with unexpected media type octet-stream HOT 3
- Support Multiple Images Pinned against a common key
- Better error message, if host.toml contains a syntax error
- Error: no image was built
- Sandbox/Pause containers should run on a configurable cpuset to avoid interfering with low-jitter workloads
- RFC - [content-store] Commit should check first fsync() error HOT 1
- `docker checkpoint rm` does not actually remove the checkpoint files.
- Passing OpenTelemetry (otel) Env Vars to the Shim Runtime
- Support for Wasm OCI Artifacts HOT 2
- container-shim leaks sockets
- Report the use of components with vulnerabilities in containerd HOT 1
- `ctr images pull --all-platforms --local docker.io/library/hello-world:latest` fails: `ctr: mismatched image rootfs and manifest layers` HOT 7
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 containerd.