Commit Graph

26156 Commits

Author SHA1 Message Date
Colin Walters
ac888c73ef Makefile: Drop dead CONTAINER_RUNTIME
This variable is dead code as far as I can tell. I think it
got cargo culted from something similar in skopeo, where it *is*
used:
85598438ce/Makefile (L75)
etc.

(Instead it looks like there's a `PODMANCMD` here)

But I'm effectively using this PR as a way to suggest aligning
with what we're doing in bootc, where we have a core principle
that `Makefile` should *never* itself spawn containers (or VMs etc).
All the rules in Makefile are things that should work when e.g.
building RPMs or debs or the like.

Those tasks are things that are done via `Justfile`:
https://github.com/bootc-dev/bootc/blob/main/Justfile

So for example to align, we'd add a `Justfile` here and then
`make validatepr` would move to `just validatepr`.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-11-03 10:27:14 -05:00
openshift-merge-bot[bot]
a7da73cef4 Merge pull request #27422 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.10
2025-11-03 14:41:03 +00:00
renovate[bot]
b309044006 fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 03:08:38 +00:00
openshift-merge-bot[bot]
8aea109e42 Merge pull request #27333 from Honny1/search-tests-without-net
Eliminate network dependencies in `podman search` e2e tests with mock registry
2025-10-31 19:33:10 +00:00
openshift-merge-bot[bot]
6b731284f8 Merge pull request #27400 from lsm5/cncf-self-assessment
cncf: self-assessment doc
2025-10-31 13:18:07 +00:00
openshift-merge-bot[bot]
87b16eb6c9 Merge pull request #27406 from baude/prchecklist
Update gh pull request template
2025-10-30 18:43:48 +00:00
Lokesh Mandvekar
41ff61aba2 vendor neutral language, NIST database for known issues
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2025-10-30 14:37:42 -04:00
openshift-merge-bot[bot]
69b397af49 Merge pull request #27410 from baude/fixdupmachinenames
Fix use of duplicate machine names
2025-10-30 14:32:16 +00:00
Brent Baude
46c428cd30 Update gh pull request template
Perhaps exposing some our critical pull requests requirements in a checklist might help users.  As of now, we do this as a "soft open".

Co-authored-by: Jan Rodák <hony.com@seznam.cz>
Co-authored-by: Ashley Cui <ashleycui16@gmail.com>
Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-10-30 08:58:28 -05:00
Brent Baude
553c4a16d5 Fix use of duplicate machine names
A condition was changed in the refgactor of init where duplicate names would be allowed but no machine was created.  Duplicate names are not permitted and should return an error.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-10-30 07:50:08 -05:00
openshift-merge-bot[bot]
937636b8d7 Merge pull request #27408 from ashley-cui/wix
Allow RC Windows Installer to be built
2025-10-30 09:38:41 +00:00
Ashley Cui
ec5e40ae42 Allow RC Windows Installer to be built
The windows installer doesn't like -rc's because it's not strictly semver, but this error can be suppressed.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-10-29 17:32:31 -04:00
openshift-merge-bot[bot]
6fe36e2aee Merge pull request #27376 from codynguyen-dev/docs-mount-section
docs: expand --mount section with detailed type descriptions (#25888)
2025-10-29 20:28:48 +00:00
openshift-merge-bot[bot]
0b17d3ff55 Merge pull request #27401 from mheon/wsl_not_enforcing
Allow failures on WSL machine tests
2025-10-29 19:55:44 +00:00
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
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
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