Commit Graph

26346 Commits

Author SHA1 Message Date
Lokesh Mandvekar
57c7a026ea cncf: self-assessment doc
This is being added here only for team review. This doc will live in
https://github.com/cncf/tag-security/ and *probably* be removed from
here.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2025-10-29 14:27:04 -04:00
Matt Heon
eccffefe64 Allow failures on WSL machine tests
The WSL tests for `podman machine` are flaking with unreasonable
frequency right now. Last Friday, I needed to re-run a job 8
times to get it to pass and complete the release of 5.7 RC1. This
is simply not sustainable. Mark the tests allowed-failure until
this can be resolved.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-10-29 14:09:41 -04:00
openshift-merge-bot[bot]
1b2773ae58 Merge pull request #27391 from nimdrak/27378
Missing network type in events document
2025-10-29 15:28:40 +00:00
openshift-merge-bot[bot]
4f262edfa2 Merge pull request #27386 from baude/initprovider
Machine init --provider
2025-10-29 14:29:55 +00:00
Brent Baude
5e1c2f8d7d Machine init --provider
Add the ability for users to override the default provider when creating mahcines.  The new flag is `--provider` and allows you to specifiy a valid vmtype for the platform.  This PR also removes the previous list test where we tested listing all providers.  I added a PR for testing --provider which includes a standard `machine ls` which defaults now to showing all providers.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-10-29 07:59:34 -05:00
openshift-merge-bot[bot]
386c8f3fe9 Merge pull request #27393 from slp/krunkit-1.1.0
Bump bundled krunkit from 0.2.2 to 1.1.0
2025-10-28 19:50:43 +00:00
openshift-merge-bot[bot]
01b669346e Merge pull request #27387 from mheon/remove_boltdb
Remove BoltDB state support
2025-10-28 17:41:05 +00:00
Sergio Lopez
103788be2c Bump bundled krunkit from 0.2.2 to 1.1.0
Bump bundled krunkit to 1.1.0. For podman, this release means
better I/O performance due to this libkrun version defaulting to
a more relaxed disk image sync on macOS, and raising the vCPU
limit to the maximum allowed by Hypervisor.framework.

Fixes: #27216
Signed-off-by: Sergio Lopez <slp@redhat.com>
2025-10-28 18:14:53 +01:00
Matt Heon
f5bc2abe4c Remove BoltDB state support
This also includes a number of significant changes to the SQLite
state made possible by removal of the legacy DB.

1. Enable database unit tests for SQLite state, with numerous
   tweaks to get tests passing. Most notable changes are to
   container removal - where we previously didn't return an error
   if there was no container to remove - and RemovePodContainers,
   which I don't think ever worked properly from my reading of
   the failures.
2. Removal of AddContainerToPod/RemoveContainerToPod. On SQLite,
   these functions are identical to AddContainer/RemoveContainer
   and there is no reason to retain duplicates.
3. Removal of SafeRewriteContainerConfig - it's identical to
   RewriteContainerConfig in SQLite, no reason to have duplicate
   entrypoints.

As an exciting side-note, this removes Podman's requirement that
containers and pods cannot share a name, which was a BoltDB
restriction only.

Signed-off-by: Matt Heon <matthew.heon@pm.me>
2025-10-28 12:09:04 -04:00
openshift-merge-bot[bot]
500d1316fa Merge pull request #27385 from KonishchevDmitry/bind-mounts-with-spaces
Escape RequiresMountsFor value to properly handle bind mounts with spaces in path
2025-10-28 13:22:03 +00:00
openshift-merge-bot[bot]
5b52ee475c Merge pull request #27388 from baude/systemdescape
Escape periods in path
2025-10-28 11:22:53 +00:00
ByoungUk Lee
c872894615 Fixes #27378 Missing network type in events document
Signed-off-by: ByoungUk Lee <nimdrak@gmail.com>
2025-10-28 04:17:42 +00:00
openshift-merge-bot[bot]
2e738b9b87 Merge pull request #27341 from timcoding1988/rotate_aws_key
rotate aws key
2025-10-28 02:19:12 +00:00
openshift-merge-bot[bot]
bb94d57bbf Merge pull request #27371 from lordwelch/patch-1
Fix tmpfs U/chown option documentation
2025-10-28 00:12:14 +00:00
codynguyen-dev
a1ed779cd2 Update docs/source/markdown/podman-run.1.md.in
Co-authored-by: Jan Rodák <hony.com@seznam.cz>
Signed-off-by: codynguyen-dev <codynnn@outlook.com>
2025-10-27 19:49:51 -04:00
Brent Baude
183ed100a6 Escape periods in path
Unescaped periods in things like paths in tables can trigger failed man
page builds.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-10-27 15:41:55 -05:00
Dmitry Konishchev
601a072b51 Escape RequiresMountsFor value
Signed-off-by: Dmitry Konishchev <konishchev@gmail.com>
2025-10-27 20:01:45 +03:00
Dmitry Konishchev
c8ba67f6b9 Introduce assert-has-key assertion
Signed-off-by: Dmitry Konishchev <konishchev@gmail.com>
2025-10-27 19:57:35 +03:00
Dmitry Konishchev
23057fd5ed Rename misleading assertion name
Signed-off-by: Dmitry Konishchev <konishchev@gmail.com>
2025-10-27 19:23:51 +03:00
openshift-merge-bot[bot]
68417eef96 Merge pull request #27301 from baude/providerless1
Provider obfuscation in command line
2025-10-27 14:56:50 +00:00
openshift-merge-bot[bot]
1ac43d6d8f Merge pull request #27382 from l0rd/fix-win-installer-build
Fix Windows Installer GH release
2025-10-27 13:50:25 +00:00
Brent Baude
0f22c1c772 Provider obfuscation in command line
For Podman 6, we still have providers and will continue to have a default provider for each platform.  But where a platform has multiple providers, we want users to be able to cross provider boudnaries imposed in Podman 4/5.  The key change is to look up virtual machines by name, as before, but to then also iterate all possible providers.  As of this PR, init will still only create with the default provider, but a subsequent PR will introdouce an provider override.

I also removed the "--all-providers" command line option on `podman
machine ls` because it no longer makes sense. And I marked the all
provider list test to be skipped.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-10-27 08:40:19 -05:00
Mario Loriedo
dad3111a3d Fix Windows Installer GH release
Function `SignItem` used the helper `CheckCommand` that got removed as
part of #27284. As a result the GH release job failed
https://github.com/containers/podman/actions/runs/18792520254/job/53626352685

This commit address that.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-10-27 14:21:32 +01:00
openshift-merge-bot[bot]
8f08e81192 Merge pull request #27359 from Luap99/maintainers
add Honny1 as Maintainer
2025-10-27 13:20:01 +00:00
Jan Rodák
2b848cca36 Fix copyUIDGID parameter inversion in Docker compat API
Docker API's copyUIDGID=true means "preserve UID/GID from archive"
but Podman's internal Chown=true means "chown to container user".
This caused Docker SDK clients to have files incorrectly chowned
to root:root instead of preserving the archive's UID/GID.

Fixes: https://github.com/containers/podman/issues/27332
Fixes: https://issues.redhat.com/browse/RUN-3643

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-10-27 12:47:49 +01:00
codynguyen-dev
5551e90532 docs: expand --mount section with detailed type descriptions (#25888)
Signed-off-by: codynguyen-dev <codynnn@outlook.com>
2025-10-26 15:00:35 -04:00
lordwelch
f8ce377bb4 Fix tmpfs U/chown documentation
Signed-off-by: lordwelch <timmy@narnian.us>
2025-10-25 22:58:46 -07:00
renovate[bot]
07a27f95d1 [skip-ci] Update GitHub Artifact Actions
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 19:10:55 +00:00
openshift-merge-bot[bot]
5a0b74b13e Merge pull request #27352 from rhatdan/artifact
Add CreatedAt format option to podman artifact ls
2025-10-24 19:09:56 +00:00
Paul Holzinger
d71f383db1 add Honny1 as Maintainer
Jan does great contributions, reviews other PRs and helps with issue
triage for a while now. He definitely deserves to be a full Maintainer
for Podman so he can properly merge PRs.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-10-24 18:08:18 +02:00
openshift-merge-bot[bot]
cfe5bdbe46 Merge pull request #27351 from mheon/bump_600_dev
Bump Go version to v6
2025-10-24 12:24:58 +00:00
Jan Rodák
af2d913f3d test: organize search tests with BeforeEach/AfterEach patterns
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-10-24 13:58:05 +02:00
Jan Rodák
6b9310a0db test: refactor search_test.go to use helper functions and PodmanExitCleanly
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-10-24 13:56:35 +02:00
Jan Rodák
91ff7801e6 test: Replace external registry deps with mock server in search tests
- Add comprehensive mock registry server for e2e search tests
- Replace quay.io and other external registry calls with local mock
- Improve test reliability by removing network dependencies
- Maintain full test coverage with controlled mock data

Fixes: https://github.com/containers/podman/issues/27304
Fixes: https://issues.redhat.com/browse/RUN-3623

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-10-24 13:55:57 +02:00
openshift-merge-bot[bot]
1175578615 Merge pull request #27346 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.27.1
2025-10-23 17:30:48 +00:00
Matt Heon
34166fc004 Bump Go version to v6
Tremendous amount of changes in here, but all should amount to
the same thing: changing Go import paths from v5 to v6.

Also bumped go.mod to github.com/containers/podman/v6 and updated
version to v6.0.0-dev.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-10-23 11:00:15 -04:00
openshift-merge-bot[bot]
3fd1f61c8a Merge pull request #27348 from TomSweeneyRedHat/dev/tsweeney/minitpyo
[CI:DOCS]Fix minor typo in buildah test
2025-10-23 13:58:47 +00:00
Daniel J Walsh
96ab027a3c Add CreatedAt format option to podman artifact ls
This change adds a .CreatedAt format option to the podman artifact ls
command to match the behavior of podman images --format CreatedAt.

The .Created field continues to display human-readable elapsed time
(e.g., '6 hours ago'), while the new .CreatedAt field displays the
full timestamp (e.g., '2025-10-23 12:34:56 +0000 UTC').

Changes:
- Refactored artifactListOutput struct to store time.Time value
- Added CreatedAt() method returning full timestamp string
- Added Created() method for human-readable duration
- Updated documentation to include .CreatedAt field
- Added e2e test for .CreatedAt format option

Generated-with: Cursor AI
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2025-10-23 09:35:21 -04:00
openshift-merge-bot[bot]
2883e95ae5 Merge pull request #27294 from mheon/warn_on_boltdb
Warn on BoltDB usage
2025-10-23 11:27:27 +00:00
tomsweeneyredhat
1cea51507b [CI:DOCS]Fix minor typo in buildah test
After the tests had all but passed on #27343, I noted
a minor typo.  This corrects the one character flaw.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-10-22 17:15:02 -04:00
openshift-merge-bot[bot]
bc3b910276 Merge pull request #27340 from axel7083/feature/quadlet/kube-support-multiple-yaml
feat(quadlet: kube): support multiple Yaml entries
2025-10-22 20:32:58 +00:00
openshift-merge-bot[bot]
998a8a0de4 Merge pull request #27343 from TomSweeneyRedHat/dev/tsweeney/buildah_v1.42.0
Bump Buidah to v1.42.0 for Podman v5.7
2025-10-22 19:49:05 +00:00
renovate[bot]
ff6945a7dc fix(deps): update module github.com/onsi/ginkgo/v2 to v2.27.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-22 19:33:58 +00:00
openshift-merge-bot[bot]
52deed7773 Merge pull request #27344 from sierikov/quadlet-cat-alias
quadlet: add `cat` alias for `print`
2025-10-22 19:32:20 +00:00
Artem Sierikov
61291e8c70 quadlet: add cat alias for print
Add new alias `podman quadlet cat` to `podman quadlet print`
to align Podman's quadlet CLI with systemd conventions.

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

Signed-off-by: Artem Sierikov <sierikov@pm.me>
2025-10-22 20:05:08 +02:00
tomsweeneyredhat
c72102d1b2 Bump Buidah to v1.42.0 for Podman v5.7
Vendor Buildah v1.42.0 into Podman for v5.7.0.
This will also drag in:

go.podman.io/common v0.66.0
go.podman.io/image v5.38.0
go.podman.io/storage v1.61.0

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-10-22 13:51:32 -04:00
axel7083
f957852e4a fix: failing tests
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2025-10-22 18:07:03 +02:00
Tim Zhou
2cfd526ec8 rotate aws key
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2025-10-22 11:45:56 -04:00
openshift-merge-bot[bot]
08c670b232 Merge pull request #27263 from Honny1/fix-docs
docs: add missing manifest parameter to build API endpoints
2025-10-22 15:14:14 +00:00
axel7083
8e013c0012 feat(quadlet: kube): support multiple Yaml entries
fixes https://github.com/containers/podman/issues/26274

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2025-10-22 16:09:47 +02:00