Commit graph

27127 commits

Author SHA1 Message Date
Matt Heon
d8e7a60604
Merge pull request #28451 from lsm5/podman6-no-slirp-vendor
Podman6: remove slirp mentions from comments
2026-04-27 14:57:34 -04:00
Paul Holzinger
bd86edcbe1
Merge pull request #28591 from Luap99/vendor
update container-libs vendor and re-enable module command line completion test
2026-04-27 18:12:56 +02:00
Paul Holzinger
5419fe6648
Merge pull request #28520 from ashley-cui/images
New images 2026-04-24
2026-04-27 18:08:48 +02:00
Paul Holzinger
42cdb802cf
Merge pull request #28526 from mheon/governance_add_subprojects
Add a process for adding and removing subprojects
2026-04-27 18:04:09 +02:00
Lokesh Mandvekar
9b253ab347
Update stale comments referencing slirp4netns
Replace remaining references to Slirp/slirp4netns in code comments
with Pasta or remove them where the reference is no longer relevant.

Signed-off-by: Lokesh Mandvekar <lsm5@linux.com>
2026-04-27 10:22:26 -04:00
Jan Rodák
30f93025ab
Merge pull request #28556 from Luap99/checkpoint-skip
test: remove outdated checkpoint skip
2026-04-27 15:02:20 +02:00
Paul Holzinger
f493ef0734
test/system: re-enable module command line completion test
The paths are no exported again in the latest common changes from
 https://github.com/containers/container-libs/pull/790

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-27 12:54:05 +02:00
Paul Holzinger
6d2e083446
vendor: update latest common, image, storage
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-27 12:52:17 +02:00
Ashley Cui
1b99ae56b0 New images 2026-04-24
From https://github.com/containers/automation_images/pull/443

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-04-24 22:47:17 -04:00
Lokesh Mandvekar
a8c3631856
Merge pull request #28581 from baude/removeowners
Remove OWNERS file
2026-04-24 14:16:51 -04:00
Lokesh Mandvekar
fd57a62ffe
Merge pull request #28552 from Luap99/registries-conf
vendor registries.conf rework
2026-04-24 13:44:17 -04:00
Brent Baude
94b56a82e3
Remove OWNERS file
The OWNERS file no longer serves any purpose now that we do not have
openshift merge bots and the like.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-24 10:18:13 -05:00
Matt Heon
7bf32ef98b
Merge pull request #28575 from Luap99/container-inspect-json
fix container inspect output to not escape html chars
2026-04-23 15:16:11 -04:00
Paul Holzinger
d01cd46830
test/system: skip podman checkpoint --export, with volumes on aarch64
It fails due some selinux problem, #28576.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 20:48:55 +02:00
Paul Holzinger
46aa8b83a4
test: remove outdated checkpoint skip
This should work again with the latest VM images.

Fixes: #26289

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 20:44:06 +02:00
Paul Holzinger
56a24d5183
fix container inspect output to not escape html chars
The default std json behavior is to escape &, < and >. Because we print
to the terminal we do not want escapes and rather the real chars.

That is what PrintGenericJSON() does but because we have custom
MarshalJSON() overwrite on the type which called json.Marshal() this
option was not carried into that. The inner type must not escape it.

This is not a problem in the other direction because the outer
json.Marshal call will still escape the chars returned from the inner
MarshalJSON() result if needed.

Fixes: #28560

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 20:12:14 +02:00
Matt Heon
cc2e2c94b8
Merge pull request #27929 from kairosci/fix/27786-health-field-containers-json
compat: Add Health field to /containers/json endpoint
2026-04-23 11:39:08 -04:00
Lokesh Mandvekar
a009b8079b
Merge pull request #28559 from containers/renovate/dawidd6-action-send-mail-16.x
[skip-ci] Update dawidd6/action-send-mail action to v16
2026-04-23 10:49:33 -04:00
Paul Holzinger
e74582fcd5
remove CONTAINERS_REGISTRIES_CONF parsing code
The recent registries.conf rework made so the backend already reads the
env var. As such clients should no longer set it directly to simplify
the code here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 16:22:07 +02:00
Paul Holzinger
5504338c36
vendor: update common, image, storage to latest
To pull in the registries.conf rework and make sure it all works.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 16:22:07 +02:00
Paul Holzinger
2c2ff559bd
Merge pull request #28554 from Luap99/registries-v2
move old registries.conf v1 files to v2
2026-04-23 15:55:43 +02:00
Matt Heon
f384cc57ab
Merge pull request #28386 from NabilHouidi/fix/generate-spec/segfault
Fix: generate specs for pod with no infra container
2026-04-23 08:59:05 -04:00
Paul Holzinger
bf76b9133f
move old registries.conf v1 files to v2
The v1 syntax is no longer accepted.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 13:19:04 +02:00
Paul Holzinger
f2994dc695
move the python API tests to the cache registry
First remove the old v1 registries.conf the test was using and then make
it correctly load the cache registry for CI. This needs some minor test
fixes to make it work again.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 13:18:13 +02:00
Alessio Attilio
c4a4c7e117 API: Add Health field to compat ListContainers and restrict to v1.52+
Signed-off-by: Alessio Attilio <attilio.alessio@protonmail.com>
2026-04-23 08:39:43 +00:00
Paul Holzinger
62ac844a6d
Merge pull request #28567 from Honny1/small-fix
Cleanup from deterministic network order PR #28275
2026-04-23 06:03:47 +02:00
Nabil Houidi
d44655537e
fix: ensure infra image is set from infra container spec in PodConfigToSpec
fixes #21609

Signed-off-by: Nabil Houidi <35373676+NabilHouidi@users.noreply.github.com>
2026-04-22 23:47:00 +02:00
Lokesh Mandvekar
d66f0856a8
Merge pull request #28566 from baude/RUN-4539
RUN-4539: Change podman module paths
2026-04-22 16:32:52 -04:00
Matt Heon
ae628bbf0c
Merge pull request #28568 from l0rd/lstocchi-reviewer
Add lstocchi as Podman Reviewer
2026-04-22 15:17:27 -04:00
Brent Baude
2cc3be7332
RUN-4539: Change podman module paths
The podman module paths are moving from github.com/containers/podman to
go.podman.io/podman.  This will help with future mobility.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-22 14:02:25 -05:00
Matt Heon
3279767614
Merge pull request #28336 from l0rd/import_native_ca
Import host trusted certificates into the guest machine - Windows part
2026-04-22 13:04:55 -04:00
Jan Rodák
6df67e0e19
Fix LegacyNetworks comments and add deprecation notice
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-04-22 19:03:32 +02:00
Matt Heon
f5629c9ce0
Merge pull request #28558 from osullivandonal/sqlite-remove-volume-config-verify-deletion
SQLite verify that a Volume config was actually deleted
2026-04-22 11:45:09 -04:00
Mario Loriedo
9762b6b8dd Add lstocchi as Podman reviewer
Luca remarkable knowledge of the Windows virtualization
platform would be beneficial for reviewing PRs and triaging
issues.

lstocchi contributions:
- https://github.com/containers/podman/pull/28535
- https://github.com/containers/podman/pull/27932
- https://github.com/containers/podman/pull/27931
- https://github.com/containers/podman/pull/27885
- https://github.com/containers/podman/pull/27650
- https://github.com/containers/podman/pull/26277
- https://github.com/containers/podman/pull/26201
- https://github.com/containers/podman/pull/20478

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-04-22 17:43:32 +02:00
Jan Rodák
103d059904
Reuse found network in NetworkDisconnect
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-04-22 17:42:55 +02:00
Brent Baude
9ac300c6af
Merge pull request #28535 from lstocchi/i25037
auto-add user to Hyper-V Administrators group
2026-04-22 10:31:55 -05:00
Ashley Cui
a71f082d6e
Merge pull request #28557 from baude/RUN-4539-buildah
RUN-4538: Fix buildah vendoring
2026-04-22 08:52:59 -04:00
Donal O'Sullivan
2adfe1d4d9 Verify that a Volume config was actually deleted
Check the result from the volume config deletion
to verify rows were actually affected. If no
rows were deleted, return ErrNoSuchVolume.

Signed-off-by: Donal O'Sullivan <osullivanpatrickdonal@gmail.com>
2026-04-22 13:43:37 +01:00
lstocchi
57eeb47143
auto-add user to Hyper-V Administrators group
Currently, running Podman on Hyper-V as a non-administrator requires the user to be a member of the "Hyper-V Administrators" local group. If they are not, various WMI calls fail with access denied.

This commit automates the permission setup.
1. During podman machine init, if Podman is running with elevated privileges (required for registry/networking setup anyway), it will now automatically add the current user to the localized "Hyper-V Administrators" group
2. If a user is added to the group, the change is not reflected until the next login. We now detect this state and explicitly instruct the user to log out and back in.
3. Modified the Hyper-V stubber to handle permission checks at the method level rather than the provider selection level (GetAll). This allows init to continue far enough to perform the elevation and setting.

Signed-off-by: lstocchi <lstocchi@redhat.com>
2026-04-22 11:03:37 +02:00
renovate[bot]
a1734fb02b
[skip-ci] Update dawidd6/action-send-mail action to v16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-21 20:58:17 +00:00
Brent Baude
2e6f29a2df
RUN-4538: Fix buildah vendoring
This PR reflects the upstream change of moving the buildah module from
github.com/containers/buildah to go.podman.io/buildah.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-21 14:27:58 -05:00
Paul Holzinger
ff6fb6eb2d
Merge pull request #28508 from jankaluza/configfile
trust: switch policy.json lookup to configfile
2026-04-21 12:04:43 +02:00
Matt Heon
98ca040cd7
Merge pull request #28536 from zhangguanzhang/fix-tmp
Clean up temporary file for CreateImageFromSrc
2026-04-20 18:19:20 -04:00
Matt Heon
f18f50929d
Merge pull request #28548 from containers/renovate/github.com-moby-moby-api-1.x
Update module github.com/moby/moby/api to v1.54.2
2026-04-20 15:19:31 -04:00
renovate[bot]
d1ef890bd6
Update module github.com/moby/moby/api to v1.54.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-20 16:30:27 +00:00
Brent Baude
41b32803ed
Merge pull request #28537 from Honny1/compat-wait
Fix Docker compat `/wait` hanging for next-exit condition
2026-04-20 11:10:09 -05:00
Matthew Heon
69ae4645c1 Add a process for adding and removing subprojects
We were asked about adding podman-py to the project, which seems
entirely sensible given how strongly related it is. However, we
don't actually have a process to do this right now. I added a
section on adding and removing subprojects, based on the CNCF
governance-by-subprojects template.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-04-20 10:46:52 -04:00
Jan Kaluza
cae4c40323 compat: limit err scope in CommitContainer.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2026-04-20 15:11:34 +02:00
Jan Kaluza
03afb7403d trust: fail on policy path resolution errors, remove fallback logic
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2026-04-20 15:11:34 +02:00
Jan Kaluza
54d61c2f02 trust: switch policy.json lookup to configfile
Use shared configfile instead of custom policy.json path handling.
This updates ocipull to rely on signature.DefaultPolicy(), removes
explicit SignaturePolicyPath, and replaces trust's custom default-policy
path logic with common configfile code.

Replace hidden `--policypath` with --signature-policy` and require
it for `trust set` command instead of path resolution based on
configfile.

For `trust get`, the `--signature-policy` is optional.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2026-04-20 15:11:22 +02:00