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
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
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
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
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
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
Matt Heon
9ea18b78fa
Warn on boltdb use
...
We started logging this in 5.6. In 5.7, we up to a warning. The
upcoming 5.8 will up the warnings further to errors.
Required as we're removing BoltDB support in 6.0 next Spring.
Signed-off-by: Matt Heon <matthew.heon@pm.me >
2025-10-22 09:24:43 -04:00
openshift-merge-bot[bot]
4a2e52f4ed
Merge pull request #27182 from skyraider256526/main
...
feat: add `--format` flag to artifact inspect
2025-10-22 13:22:09 +00:00
openshift-merge-bot[bot]
c15e84534e
Merge pull request #27292 from Honny1/pr-multi-file-support-kube
...
Add multi-file support to `podman kube play/down`
2025-10-22 11:46:42 +00:00
Paul Holzinger
339a432dd9
fix artifact inspect issues
...
Fix remaining CI issues from PR #27182 .
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2025-10-22 13:04:13 +02:00
axel7083
9bda788edf
feat(cmd): podman kube play support multiple arguments
...
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com >
fix: update kube play command cobra use
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com >
Add multi-file support to podman kube play/down
- Support multiple YAML files and URLs in single command
- Combine files with YAML document separators (---)
- Refactor for better testability with dependency injection
- Update documentation with examples for multiple inputs
- Improve memory efficiency with streaming I/O operations
Fixes: https://github.com/containers/podman/issues/26274
Fixes: https://issues.redhat.com/browse/RUN-3586
Signed-off-by: Jan Rodák <hony.com@seznam.cz >
2025-10-22 12:10:46 +02:00
Celso Henrique Souza Silva
0ea4eaee70
cmd/podman: add replace flag to quadlet install
...
Signed-off-by: Celso Henrique Souza Silva <celsohenrique367@gmail.com >
Fixes : #26930
2025-10-21 14:03:23 -03:00
openshift-merge-bot[bot]
935e82544a
Merge pull request #27319 from NotSoFancyName/artifact-ls-created
...
artifact: added CREATED column to artifact ls
2025-10-21 15:07:26 +00:00
Akash Yadav
1fbf24b65b
feat: add --format flag to artifact inspect
...
Many commands support the `--format` flag which accept a go template to
allow for formatting for certain values, but it is not
yet implemented for artifact inspect command.
Adding this feature will allow easy formatting in scripts as well as
running it on a terminal.
This feature is implemented for artifact inspect by taking reference
from images and network commands implementation.
Fixes: [#27112 ](https://github.com/containers/podman/issues/27112 )
Signed-off-by: Akash Yadav <akashyadav256526@gmail.com >
2025-10-21 16:58:03 +05:30
openshift-merge-bot[bot]
b3ec5cf29e
Merge pull request #26618 from mtrmac/sequoia
...
Add --sign-by-sq-fingerprint
2025-10-21 11:06:38 +00:00
openshift-merge-bot[bot]
9146ef6ac0
Merge pull request #27302 from arsenalzp/podman_26396
...
Add option to remove Pod name prefix in resulting container name
2025-10-20 23:47:40 +00:00
openshift-merge-bot[bot]
1a8eb18b2b
Merge pull request #27310 from mheon/default-runtime-flags
...
Add support for runtime flags in containers.conf
2025-10-20 10:57:46 +00:00
Volodymyr Pankin
538229da90
artifact: added CREATED column to artifact ls
...
Fixes : #27314
Signed-off-by: Volodymyr Pankin <volopank@gmail.com >
2025-10-19 20:22:55 +02:00
Oleksandr Krutko
bb4fa066b3
fix remote command parameters
...
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com >
2025-10-18 02:08:51 +03:00
openshift-merge-bot[bot]
f2a559a8fe
Merge pull request #27309 from ygalblum/quadlet-build-ignorefile
...
Quadlet build - add support for IgnoreFile key
2025-10-17 15:37:32 +00:00
openshift-merge-bot[bot]
49c1fd6cea
Merge pull request #27270 from lsm5/new-octal-format
...
fileperms: newer Go 1.13+ octal literal format
2025-10-17 14:36:36 +00:00
Matt Heon
43ff7a4c13
Add a test for containers.conf runtime options
...
Signed-off-by: Matt Heon <mheon@redhat.com >
2025-10-17 10:34:18 -04:00
Oleksandr Krutko
f6dd05d9c4
add test for container name without Pod name prefix feature
...
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com >
2025-10-17 01:11:41 +03:00
Daniel J Walsh
a27fd9bd89
Allow artifact add to override org.opencontainers.image.title annotation
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2025-10-16 14:24:57 -04:00
Lokesh Mandvekar
74788a3fe1
fileperms: newer Go 1.13+ octal literal format
...
Problem: While removing cgroupsv1 code, I noticed my neovim Go config
automatically changed fileperms to the new octal format and I didn't
want that polluting my diffs.
Decision: I thought it best to switch to the new octal format in a dedicated PR.
Action:
- Cursor switched to new octal format for all fileperm ocurrences in Go
source and test files.
- vendor/, docs/ and non-Go files were ignored.
- Reviewed manually.
Ref: https://go.dev/ref/spec#Go_1.13
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com >
2025-10-16 14:11:29 -04:00
Ygal Blum
1800b34b51
Quadlet build - add support for IgnoreFile key
...
Resolves: https://github.com/containers/podman/issues/27268
Signed-off-by: Ygal Blum <ygal.blum@gmail.com >
2025-10-16 14:02:04 -04:00
openshift-merge-bot[bot]
ab7abbab67
Merge pull request #27307 from baude/rmlibartifact
...
remove libartifact from podman
2025-10-16 16:56:28 +00:00
openshift-merge-bot[bot]
ba4d836044
Merge pull request #27256 from givensuman/T-27065-add-quadlet-build-args-support
...
Add BuildArg key to quadlets
2025-10-16 15:24:52 +00:00
Brent Baude
cfd4cc0932
remove libartifact from podman
...
pkg/libartifact has been moved to common and as such needs to be removed
from podman and the new common vendored in along with required deps.
https://issues.redhat.com/browse/RUN-3618
Signed-off-by: Brent Baude <bbaude@redhat.com >
2025-10-16 09:55:59 -05:00
openshift-merge-bot[bot]
32d6c54054
Merge pull request #26624 from Odilhao/artifact-quadlet-implementation
...
Add artifact quadlet unit type support
2025-10-13 14:41:25 +00:00
Odilon Sousa
34254cd1d0
Add artifact quadlet unit type support
...
RFE: Add artifact quadlet unit type #25778
Signed-off-by: Odilon Sousa <osousa@redhat.com >
2025-10-10 11:08:33 -03:00
openshift-merge-bot[bot]
3e85b2ef8f
Merge pull request #27250 from nimdrak/27120
...
Pod Quadlet can configure podman pod stop --time
2025-10-09 16:38:27 +00:00
Jan Rodák
a1e7e9a46d
Add local build API for direct filesystem builds on MacOS and Windows (only WSL)
...
Adds /libpod/local/build endpoint, client bindings, and path translation
utilities to enable container builds from mounted directories to podman machine without tar uploads.
This optimization significantly speeds up build operations when working with remote Podman machines by eliminating redundant file transfers for already-accessible files.
Fixes: https://issues.redhat.com/browse/RUN-3249
Signed-off-by: Jan Rodák <hony.com@seznam.cz >
2025-10-09 15:14:48 +02:00
givensuman
196be4b813
Test for multiple key/val arguments
...
Signed-off-by: givensuman <givensuman@duck.com >
2025-10-08 13:20:41 -04:00
givensuman
720e263767
Add BuildArg key to quadlets
...
Signed-off-by: givensuman <givensuman@duck.com >
2025-10-08 12:44:11 -04:00
ByoungUk Lee
d1c43e3ae8
Fixed #27120 : Pod Quadlet can configure podman pod stop --time
...
Signed-off-by: ByoungUk Lee <nimdrak@gmail.com >
2025-10-08 23:53:14 +09:00
openshift-merge-bot[bot]
7fecff5c29
Merge pull request #27239 from Honny1/fix-mapping-ns
...
Fix --userns=ns:<path> conflicting with runc 1.1.11+
2025-10-07 19:21:01 +00:00
openshift-merge-bot[bot]
2455ac327d
Merge pull request #27153 from rhatdan/cursor
...
Add --replace option to podman artifact add command
2025-10-07 17:09:03 +00:00
Jan Rodák
79ecc1d56b
Fix --userns=ns:<path> conflicting with runc 1.1.11+
...
Remove dummy UID/GID mappings added when joining existing user
namespaces, which runc 1.1.11+ rejects as conflicting.
RUNC fix: https://github.com/opencontainers/runc/pull/4124
Fixes #27148
Signed-off-by: Jan Rodák <hony.com@seznam.cz >
2025-10-07 15:45:45 +02:00