27280 Commits

Author SHA1 Message Date
Jan Rodák
866bde6658 Merge pull request #28711 from Luap99/gw-nil
inspect: do not show <nil> as gateway
2026-05-19 09:50:37 +02:00
Paul Holzinger
6f048e6500 inspect: do not show <nil> as gateway
When a network is created without gateway, i.e. --internal --disable-dns
then the gateway will be nil. But converting a nil ip to string produces
"<nil>" which is not what we want as we like an empty string there to
signal that the network has no gateway.

Fixes: #28705

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-18 20:47:52 +02:00
Jan Rodák
517070e750 Merge pull request #28673 from kyounghunJang/feat/add-volume-prune-dry-run
volume prune: add dry-run support
2026-05-18 19:26:18 +02:00
Paul Holzinger
113a491977 Merge pull request #28662 from nimdrak/support_artifacts_emitting_events
Support artifacts emitting events
2026-05-18 14:56:37 +02:00
Paul Holzinger
fce79ce063 Merge pull request #28720 from nimdrak/refactor_artifact_remove_bindings
bindings/artifacts: remove redundant nameOrID parameter from Remove for 6.0
2026-05-18 13:18:47 +02:00
Paul Holzinger
22fad6d0fc Merge pull request #28725 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.29.0
2026-05-18 13:09:08 +02:00
renovate[bot]
e9df466ae3 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.29.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-18 01:51:19 +00:00
Byounguk Lee
b50b9c0dbc events: support artifact events with refactored event forwarding
- libpod/events.go & libpod/runtime.go: Added the `Artifact` event type.
  Refactored and deduplicated event forwarding logic by introducing
  `spawnEventForwarder[T any]`, replacing separate goroutine loops for
  images and artifacts. Implemented graceful shutdown and resolved eventer
  initialization race conditions.
- libpod/events: Implemented event filtering by name/ID, updated journald
  and logfile readers/writers for artifact events, and added `Artifact` to
  `ToHumanReadable` formatting.
- cmd/podman: Added shell auto-completion for `artifact=` and `type=artifact` filters.
- docs/test: Documented the `artifact` event type, statuses, and filters in
  `podman-events.1.md`. Added an end-to-end test in `events_test.go` to verify
  event emissions.

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-05-18 00:05:10 +00:00
Paul Holzinger
90f38bc911 Merge pull request #28719 from nimdrak/vendor
vendor: update container-libs to latest
2026-05-17 20:17:53 +02:00
Byounguk Lee
e36e2c97d2 bindings/artifacts: remove redundant nameOrID parameter from Remove for 6.0
Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-05-17 08:11:53 +00:00
Byounguk Lee
e6c50d769f vendor: update container-libs to latest
Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-05-17 07:38:07 +00:00
KyounghoonJang
3d899a8c25 volume prune: add dry-run support
Add a --dry-run option to show which volumes would be pruned without removing them.

Related: #27838
Signed-off-by: KyounghoonJang <matkimchi_@naver.com>
2026-05-16 19:03:34 +09:00
Paul Holzinger
e0b2e70e4f Merge pull request #28707 from MayorFaj/docs/28702-pod-ps-clarify
docs: clarify podman pod ps default output
2026-05-15 12:10:02 +02:00
Giuseppe Scrivano
5baa31f88c Merge pull request #28709 from Honny1/tmpfs-docs
Document tmpcopyup default behavior for tmpfs mounts
2026-05-15 11:57:51 +02:00
Jan Rodák
fb75774a43 Document tmpcopyup default behavior for tmpfs mounts
Related to: https://github.com/containers/podman/issues/28684

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-05-15 09:22:44 +02:00
MayorFaj
8ae6f02b3f docs: clarify podman pod ps default output
Signed-off-by: MayorFaj <mayorfaj@gmail.com>
2026-05-15 07:46:47 +01:00
Jan Rodák
f0af130722 Merge pull request #28704 from otjdiepluong/fix/duplicated-words-in-podman-comments
fix: duplicated words in decompress.go log message and annotations.go comment
2026-05-14 15:18:09 +02:00
Maya Chen
2f17614d0e fix: duplicated words in decompress.go log message and annotations.go comment
Signed-off-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com>
2026-05-14 05:08:45 +00:00
Paul Holzinger
96eadb51a4 Merge pull request #28700 from mheon/request_bodies_are_optional
API Handlers should not error on empty request bodies
2026-05-13 23:45:51 +02:00
Matthew Heon
3ac6501fdd API Handlers should not error on empty request bodies
This is a Docker compatibility change discovered while working on
cases it is practically speaking required because there are
mandatory parameters in the body, but in those cases you do not
get a JSON decode error back, you get an error about the field
that needs to be set. I see no reason for us not to match this
convention; it doesn't break our existing bindings, but makes
using the API via curl or similar somewhat easier.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-05-13 16:33:40 -04:00
Brent Baude
65bddce16c Merge pull request #28695 from Luap99/test-log
test/system: log socat output in retry loop
2026-05-13 13:48:39 -05:00
Paul Holzinger
82e7fc1440 Merge pull request #28692 from BackSlasher/compat-push-aux-trailer
api: emit aux trailer with manifest digest on image push
2026-05-13 14:47:20 +02:00
Paul Holzinger
f33ef6a77f test/system: log socat output in retry loop
This test is currently flaking with the latest pasta update[1]. As part
of debugging this it was hard to see why socat fails 5 times in this
loop as the run function does not log the output so I had to add an echo
here.

[1] https://bugs.passt.top/show_bug.cgi?id=202

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-13 14:38:03 +02:00
nitz
b571943fe4 api: emit aux trailer with manifest digest on image push
The Docker daemon emits a final `{"aux":{"Tag","Digest","Size"}}` JSON
object on the push event stream so clients can recover the registry-side
manifest digest without an extra registry round-trip.

Several Docker-API clients (e.g. the Pulumi and Terraform docker
providers) parse `aux.Digest` to populate their pushed-image outputs.
Without the trailer they either silently fall back to inspecting the
local image (whose digest does not always match what was pushed - see
containers/podman#14779) or emit "Push completed without reporting a
digest" warnings.

`pushReport.ManifestDigest` is already populated with the correct
on-the-wire digest from `manifest.Digest(pushedManifestBytes)`; this
change just wraps it into the same JSON shape Docker emits and adds an
apiv2 test asserting the trailer is present with Tag, Digest, and Size.

Signed-off-by: nitz <nitz.raz@gmail.com>
2026-05-13 13:23:16 +03:00
Paul Holzinger
64284222af Merge pull request #28689 from nimdrak/support_artifact_type_autocomplete_in_inspect
Support artifact auto completion in podman inspect
2026-05-13 12:18:19 +02:00
Byounguk Lee
6e089b421b completion: add artifact support to podman inspect
Autocompletion for `podman inspect` now includes artifact names,
matching the behavior of other object types like containers, images,
pods, networks, and volumes.

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-05-13 02:38:25 +00:00
Brent Baude
0344459bb9 Merge pull request #28688 from containers/renovate/requests-2.x
chore(deps): update dependency requests to ~=2.34.0
2026-05-12 09:23:31 -05:00
renovate[bot]
879594a2f9 chore(deps): update dependency requests to ~=2.34.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 20:00:35 +00:00
Matt Heon
18acc613d0 Merge pull request #28653 from kolyshkin/selinux1140
Update oc/selinux to v1.14.1
2026-05-11 15:03:05 -04:00
Kir Kolyshkin
40e572f2ed Update oc/selinux to v1.14.1
There are some deprecations so done manually.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-05-11 11:04:23 -07:00
Mario Loriedo
00d375f568 Merge pull request #28573 from Luap99/machine-config-mount
Machine config mount
2026-05-11 18:21:57 +02:00
Brent Baude
369b4f2c30 Merge pull request #28681 from containers/renovate/github.com-containers-gvisor-tap-vsock-0.x
Update module github.com/containers/gvisor-tap-vsock to v0.8.9
2026-05-11 09:29:51 -05:00
Paul Holzinger
a6e58ea101 wsl: remove custom registries.conf
This is already part of the base machine image, also with the overmount
of /etc/containers this would no loner be read anyway.

The machine-os update for this is here:
https://github.com/containers/podman-machine-os/pull/239

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
93b615c1f2 machine: move marker file to /etc/podman-machine
Matches changes from https://github.com/containers/container-libs/pull/779

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
e34f3bce0c machine: remove SSL_CERT_DIR/SSL_CERT_FILE copy
With podman 6 we have a --import-native-ca option that handles the
copying of certs much better.

As such remove our old legacy way of copying files these envs and also
the static certs.d dir. Since we now mount the full containers config
dir the certs from the cert.d are mounted already.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
b14e833ef6 machine: add test to check config mount
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
5e193ce96a wsl: mount config home dir like on other providers
The other providers use the volume mounts from containers.conf which
should take care of it. But because WSL is not using this we need to
hard code this ourselves.

Add a new custom unit to make systemd mount the path like we do for
podman socket mounts.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
41adad8ce9 machine test: combine three test cases
Each machine init boot takes a while, we can easily do this as part of
one test run to speed the overall machine test time up.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:58:03 +02:00
Paul Holzinger
49ab599855 vendor: update container-libs to latest
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-05-11 15:57:38 +02:00
Paul Holzinger
cbafba0418 Merge pull request #28674 from containers/renovate/github.com-openshift-imagebuilder-1.x
Update module github.com/openshift/imagebuilder to v1.2.21
2026-05-11 14:36:21 +02:00
Paul Holzinger
b55ce72592 Merge pull request #27311 from danishprakash/dual-stack-bind
libpod: replace listen with socket+bind for dual-stack port reservation
2026-05-11 14:06:20 +02:00
Paul Holzinger
04c53e07bf Merge pull request #28666 from eriksjolund/add-troubleshooting-tips
Add troubleshooting tips
2026-05-11 12:39:27 +02:00
renovate[bot]
3f0cdca48a Update module github.com/containers/gvisor-tap-vsock to v0.8.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 10:39:26 +00:00
Paul Holzinger
768f98b2c5 Merge pull request #28677 from containers/renovate/golang.org-x-net-0.x
Update module golang.org/x/net to v0.54.0
2026-05-11 12:37:53 +02:00
Giuseppe Scrivano
e396657cca Merge pull request #28679 from eriksjolund/troubleshooting-setgroups
troubleshooting: document setgroups requirement
2026-05-11 10:56:16 +02:00
Danish Prakash
1a20d82edc libpod: replace listen with socket+bind for dual-stack port reservation
This commit addresses two concerns.

Bind dual stack when hostIP unless it is explicitly specified. Since we
use listen(), this change resulted in blocked connections on stacks
without matching DNAT rules (e.g. connecting to [::1] on an IPv4-only
network) because the TCP handshake on the reservation socket would complete
instead of returning ECONNREFUSED allowing the client to fallback to IPv4.

Replacing listen() with raw socket() and bind() syscalls fixes this by
allowing us to reserve this port without accepting connections; clients
get ECONNREFUSED and fall back to IPv4 automatically, as is desired.

Fixes: https://github.com/containers/netavark/issues/1338

Co-authored-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-05-11 13:21:12 +05:30
Erik Sjölund
33db50ab24 troubleshooting: document setgroups requirement
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2026-05-11 07:56:57 +02:00
renovate[bot]
11399b7229 Update module golang.org/x/net to v0.54.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 01:13:48 +00:00
renovate[bot]
06ce73de61 Update module github.com/openshift/imagebuilder to v1.2.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-10 19:34:40 +00:00
Erik Sjölund
d9836ac255 troubleshooting: add tip about is transient
Add tip:

50) `systemctl enable` fails with `Failed to enable unit: Unit` ... `is transient or generated`

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2026-05-09 13:33:37 +02:00