docker-moby, container-registry: fix check-config and registry defaults
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | docker-moby: drop the check-config patch for MEMCG_SWAPrecipes-containers/ recipes-containers/ | +0 | 1 reply | |
| 2/2 | container-registry: default to insecure only without a secure registryconf/ | +1 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults
Hi all,
This series fixes two problems that are in master and master-next. I found them while building Docker, Podman and containerd hosts for qemuarm64 with the wrynose branch, which has the same code.
The first drops the check-config patch for MEMCG_SWAP. Its hunk no longer lands on the MEMCG_SWAP check, and the installed /usr/share/docker/check-config.sh stops with a syntax error after the optional features.
The second makes CONTAINER_REGISTRY_SECURE = "1" sufficient to select a TLS registry, as the header of container-registry.conf says. Today the fragment leaves CONTAINER_REGISTRY_INSECURE at "1", and parsing stops with "CONTAINER_REGISTRY_SECURE and CONTAINER_REGISTRY_INSECURE cannot both be set to '1'".
Tested on master-next with OE-core master, and on the wrynose branch, with a qemuarm64 Docker host that sets CONTAINER_REGISTRY_SECURE = "1" and leaves CONTAINER_REGISTRY_INSECURE unset: parsing succeeds, docker pull works over HTTPS against the CA installed in /etc/docker/certs.d, and check-config.sh runs to the end, through its network, storage and limits sections.
Thanks,
John
John Madieu (2):
docker-moby: drop the check-config patch for MEMCG_SWAP
container-registry: default to insecure only without a secure registry
conf/distro/include/container-registry.conf | 2 +- recipes-containers/docker/docker-moby_git.bb | 1 - ...g-make-CONFIG_MEMCG_SWAP-conditional.patch | 55 ------------------- 3 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch
base-commit: 89b00d096a432000766729cd721ae647af500112
Signature · 1 line
2.25.1