All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults
@ 2026-11-29 21:48 John Madieu
  2026-11-29 21:48 ` [meta-virtualization][PATCH 1/2] docker-moby: drop the check-config patch for MEMCG_SWAP John Madieu
  2026-11-29 21:48 ` [meta-virtualization][PATCH 2/2] container-registry: default to insecure only without a secure registry John Madieu
  0 siblings, 2 replies; 6+ messages in thread
From: John Madieu @ 2026-11-29 21:48 UTC (permalink / raw)
  To: meta-virtualization; +Cc: bruce.ashfield, John Madieu

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
-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-30 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 21:48 [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults John Madieu
2026-11-29 21:48 ` [meta-virtualization][PATCH 1/2] docker-moby: drop the check-config patch for MEMCG_SWAP John Madieu
2026-11-30  5:04   ` Bruce Ashfield
2026-11-29 21:48 ` [meta-virtualization][PATCH 2/2] container-registry: default to insecure only without a secure registry John Madieu
2026-11-30  5:04   ` Bruce Ashfield
2026-11-30 11:04     ` john madieu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.