From: John Madieu <john.madieu@gmail.com>
To: meta-virtualization@lists.yoctoproject.org
Cc: bruce.ashfield@gmail.com, John Madieu <john.madieu@gmail.com>
Subject: [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults
Date: Sun, 29 Nov 2026 22:48:17 +0100 [thread overview]
Message-ID: <20261129214819.2587429-1-john.madieu@gmail.com> (raw)
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
next reply other threads:[~2026-11-29 21:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 21:48 John Madieu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129214819.2587429-1-john.madieu@gmail.com \
--to=john.madieu@gmail.com \
--cc=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.