25102 Commits

Author SHA1 Message Date
75f05a9807 Add Mohan Boddu as community manager
This PR nominates Mohan Boddu as a new Community Manager for the
Podman Container Tools project.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-25 10:55:57 -04:00
ac12341046 Merge pull request #25942 from rcmadhankumar/set-default-mount-option
Remove using `rw` as a default mount option
2025-04-25 13:35:29 +00:00
2c317bb519 Merge pull request #25977 from containers/renovate/golangci-golangci-lint-2.x
chore(deps): update dependency golangci/golangci-lint to v2.1.5
2025-04-25 11:53:53 +00:00
463e3a5d8a Merge pull request #25978 from containers/renovate/github.com-cpuguy83-go-md2man-v2-2.x
fix(deps): update module github.com/cpuguy83/go-md2man/v2 to v2.0.7
2025-04-25 10:44:50 +00:00
710c077342 chore(deps): update dependency golangci/golangci-lint to v2.1.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 10:20:27 +00:00
7e14a03409 fix(deps): update module github.com/cpuguy83/go-md2man/v2 to v2.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 00:30:23 +00:00
c28fd3cbd8 Merge pull request #25966 from Luap99/start-rm
remote: don't print bogus error when starting container attached
2025-04-24 18:58:00 +00:00
633f727f2d Quadlet - use helper function for handling key=val type keys
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-04-24 14:15:39 -04:00
2b647bf3f8 Merge pull request #25964 from SuNNjek/quadlet-pod-labels
Add Label to quadlet pod
2025-04-24 15:31:07 +00:00
83d989f3c3 Merge pull request #25960 from ricardobranco777/bats_tap_option
hack/bats: Pass --tap (-t) option to bats
2025-04-24 14:41:07 +00:00
802fc15b1e Add Label to quadlet pod
Signed-off-by: Robin Heinemeier <sunnerlp@gmail.com>
2025-04-24 13:37:42 +00:00
0eac57ed31 podman start: remove container if needed
Like podman run --rm, start --attach must also ensure the contianer is
removed before it exist. Otherwise there is a race where the container
still exist after the command exits, because removal would only happen
by the cleanup process in the background.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-24 15:32:50 +02:00
5a823e33ef Merge pull request #25963 from lsm5/packit-no-merge-pr-in-ci
Packit: couple of fixes for release process
2025-04-24 12:32:29 +00:00
3a2d7587fe remote: don't print bogus error when starting container attached
This looks like debug leftover, in any case this is not an error so
simply remove the line.

Fixes #25965

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-24 14:31:22 +02:00
9b751a27b9 [skip-ci] Packit: do not merge PR in CI
Packit's default behaviour of merging commits on PR copr build jobs ends
up creating a HEAD commit ID that doesn't exist upstream. This commit
disables that behaviour.

This way, copr builds from release PR can be used for podman-machine-os
builds.

Co-authored-by: Matej Focko <mfocko@users.noreply.github.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-24 16:48:33 +05:30
e443bffe5a [skip-ci] Packit: re-enable fedora-41 targets
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-24 16:17:22 +05:30
4dd9340a56 hack/bats: Pass --tap (-t) option to bats
Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-04-24 11:38:29 +02:00
bc81470714 Merge pull request #25956 from ricardobranco777/hack_bats_multiple
hack/bats: Fix to allow multiple tests
2025-04-24 07:51:08 +00:00
bfd5de309f hack/bats: Fix to allow multiple tests
Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-04-23 18:43:05 +02:00
c55353f1d0 Merge pull request #25955 from ricardobranco777/podman_rootless_user
hack/bats: Allow specifying PODMAN_ROOTLESS_USER
2025-04-23 14:11:52 +00:00
7e57bb1474 Merge pull request #25953 from containers/renovate/github.com-docker-docker-28.x
fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
2025-04-23 12:40:34 +00:00
bf7dcd5619 Fix: Remove appending rw as the default mount option
The backstory for this is that runc 1.2 (opencontainers/runc#3967)
fixed a long-standing bug in our mount flag handling (a bug that crun
still has). Before runc 1.2, when dealing with locked mount flags that
user namespaced containers cannot clear, trying to explicitly clearing
locked flags (like rw clearing MS_RDONLY) would silently ignore the rw
flag in most cases and would result in a read-only mount. This is
obviously not what the user expects.

What runc 1.2 did is that it made it so that passing clearing flags
like rw would always result in an attempt to clear the flag (which was
not the case before), and would (in all cases) explicitly return an
error if we try to clear locking flags. (This also let us finally fix a
bunch of other long-standing issues with locked mount flags causing
seemingly spurious errors).

The problem is that podman sets rw on all mounts by default (even if
the user doesn't specify anything). This is actually a no-op in
runc 1.1 and crun because of a bug in how clearing flags were handled
(rw is the absence of MS_RDONLY but until runc 1.2 we didn't correctly
track clearing flags like that, meaning that rw would literally be
handled as if it were not set at all by users) but in runc 1.2 leads to
unfortunate breakages and a subtle change in behaviour (before, a ro
mount being bind-mounted into a container would also be ro -- though
due to the above bug even setting rw explicitly would result in ro in
most cases -- but with runc 1.2 the mount will always be rw even if
the user didn't explicitly request it which most users would find
surprising). By the way, this "always set rw" behaviour is a departure
from Docker and it is not necesssary.

Signed-off-by: rcmadhankumar <madhankumar.chellamuthu@suse.com>
2025-04-23 17:18:03 +05:30
c1ad54f89a hack/bats: Allow specifying PODMAN_ROOTLESS_USER
Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-04-23 13:44:06 +02:00
9c9bfeb504 Merge pull request #25750 from containers/renovate/github.com-mattn-go-sqlite3-1.x
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.28
2025-04-23 10:47:43 +00:00
80993f2c3b fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 09:54:18 +00:00
0f2d00617d Merge pull request #25939 from TomSweeneyRedHat/dev/tsweeney/buildah_v1.40
Bump to Buildah v1.40.0
2025-04-23 09:52:36 +00:00
0a65e7c203 Merge pull request #25949 from benoitf/mod-script
chore: use another script to get the version of gvproxy + fix download link
2025-04-23 09:19:37 +00:00
10d768baaf Add inherit-labels option to Build API
Add the inherit-labels option to the build API and tweak the go.mod
after some unhappiness in my sandbox.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-04-22 23:06:57 -04:00
76b07dd48d Bump to Buildah v1.40.0
Bumps to Buildah v1.40.0 and adds the `--inherits-labels` option to
build and farm build man pages.

Also turn off the inherit-labels option test for now as it seems to be
rathr unhappy.

Issue for inherit-labels test failure: https://github.com/containers/podman/issues/25938

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-04-22 16:50:02 -04:00
75aec675d2 chore: use another script to get the version of gvproxy
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-04-22 22:04:08 +02:00
a3e132055d Merge pull request #25909 from baude/issue25884
Add ability to set layer media type for artifacts
2025-04-22 19:21:14 +00:00
9180f55953 Merge pull request #25893 from Luap99/new-images-f42
New images f42
2025-04-22 19:13:01 +00:00
7a009cc14b Merge pull request #25688 from evidolob/use-gvisor-from-gomod
Use gvisor-tap-vsock version from go.mod file
2025-04-22 18:34:20 +00:00
ce0617eac4 Use gvisor-tap-vsock version from go.mod file
Instead of hardcoding gvisor version in different build files, we get gvisor version from go.mod file.

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2025-04-22 18:44:04 +02:00
453a7a820d fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.28
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 16:05:16 +00:00
9a0f013f0a Revert "cirrus: test only on f41/rawhide"
This reverts commit 05fc9d2d6b4c81d9f19272bea9d319c5c36cfe02.

Images use fedora f42 now.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-22 16:32:49 +02:00
b0df21edef New images 2025-04-16
https://github.com/containers/automation_images/pull/404

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-22 16:32:48 +02:00
a75cba011e Merge pull request #25944 from containers/renovate/github.com-docker-docker-28.x
fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
2025-04-22 13:59:56 +00:00
5372c15bf8 Merge pull request #25892 from Regis-Caelum/quadlet-pod-hostname
Add HostName to quadlet pod
2025-04-22 12:52:04 +00:00
18de85bb14 Merge pull request #25940 from TomSweeneyRedHat/dev/tsweeney/bud_readme
[CI DOCS] Touchup buildah-bud README.md
2025-04-22 12:46:37 +00:00
590e019240 fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 12:45:23 +00:00
3c6a593485 Merge pull request #25917 from benoitf/vfkit-upgrade
feat: update vfkit binary to v0.6.1 in macOS installer
2025-04-22 12:43:49 +00:00
58c6d84bdd Merge pull request #25916 from containers/renovate/github.com-docker-docker-28.x
fix(deps): update module github.com/docker/docker to v28.1.0+incompatible
2025-04-22 11:43:06 +00:00
a19b100cc6 Merge pull request #25937 from baude/issue25911
Output headers for volume ls when empty
2025-04-22 10:28:39 +00:00
71504eedfb Output headers for volume ls when empty
To have consistency with other podman commands like `ps` and `images`,
`volume ls` should output its headers even when there are no volumes.

Fixes: https://github.com/containers/podman/issues/25911

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-04-21 17:07:57 -05:00
5494ac882a [CI DOCS] Touchup buildah-bud README.md
The README.md in test/buildah-bud had the old directory name for the
apply-podman-deltas file.  This change removes the `/` and adds a `-`
in that file name.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-04-21 17:05:07 -04:00
b849550997 Merge pull request #25910 from TomSweeneyRedHat/dev/tsweeney/v5.5_SIC_dance
Bump c/storage v1.58.0, c/image v5.35.0, c/common v0.63.0
2025-04-21 13:44:22 +00:00
84c481ca5b Merge pull request #25931 from containers/renovate/setuptools-79.x
chore(deps): update dependency setuptools to v79
2025-04-21 13:33:21 +00:00
49b6faea09 chore(deps): update dependency setuptools to v79
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 16:01:15 +00:00
66954d7e7e Merge pull request #25858 from Luap99/prefetch
test/system: add prefetch users to use cache image
2025-04-20 16:00:40 +00:00