Commit Graph

25882 Commits

Author SHA1 Message Date
openshift-merge-bot[bot]
43ea8337c1 Merge pull request #26742 from aesteve-rh/fix-doc
doc(podman-system.unit.5.md): clarify user/group
2025-08-05 11:53:00 +00:00
openshift-merge-bot[bot]
f6c72ffdc3 Merge pull request #26747 from containers/renovate/common-image-and-storage-deps
fix(deps): update common, image, and storage deps
2025-08-05 11:05:25 +00:00
Lewis Roy
67ec2037c0 Add support for configuring tls verification with machine init
This patch adds a new --tls-verify flag to the `podman machine init`
sub command which matches many of our other commands. This allows the
user to optionally control whether TLS verification is enabled or
disabled for download of the machine image.

The default remains to leave the TLS verification decision to the
backend library which defaults to enabling it, this patch just
allows the user to explicitly set it on the CLI.

Fixes: #26517

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-05 21:02:28 +10:00
Paul Holzinger
69f8f26d98 pkg/machine/e2e: remove build context skip
The machine images should contain a new enough podman on the server side
to support this so the skips can be removed.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-05 12:53:35 +02:00
renovate[bot]
b8bba308b0 fix(deps): update common, image, and storage deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-05 00:29:00 +00:00
openshift-merge-bot[bot]
08f048066d Merge pull request #26720 from TusharMohapatra07/main
`feat:` add support for label filter with key only
2025-08-04 15:51:20 +00:00
Albert Esteve
ca3347cc2b doc(podman-system.unit.5.md): clarify user/group
Clarify User= and Group= quadlet options
when used simultaneously.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
2025-08-04 16:19:56 +02:00
Lokesh Mandvekar
6c27165054 Packit: do not notify on podman-next failures
podman-next failure notifications are mostly if not totally ignored so
there's no point keeping them.

While these notifications ideally shouldn't be ignored, some builds on
podman-next frequently fail because of older toolchain and end up
causing a lot of noise.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2025-08-04 09:08:35 -04:00
openshift-merge-bot[bot]
f27e52b2a8 Merge pull request #26738 from containers/renovate/golangci-golangci-lint-2.x
chore(deps): update dependency golangci/golangci-lint to v2.3.1
2025-08-04 10:07:49 +00:00
openshift-merge-bot[bot]
decfc29cee Merge pull request #26730 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.7
2025-08-04 09:54:04 +00:00
renovate[bot]
1001450d77 chore(deps): update dependency golangci/golangci-lint to v2.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-03 01:03:20 +00:00
Osama Albahrani
32ec523ef6 Makefile: Clarify different binaries targets
I ran `make help` and found it confusing that `binaries` is listed three times:

```console
Target:                     Description:
--------------              --------------------
binaries                    Build podman and podman-remote binaries
binaries                    Build podman, podman-remote and rootlessport binaries quadlet
binaries                    Build podman-remote (client) only binaries
clean-binaries              Remove platform/architecture specific binary files
clean                       Clean all make artifacts
docs                        Generate documentation
help                        (Default) Print listing of key targets with their descriptions
install.tools               Install needed tools
install                     Install binaries to system locations
local-cross                 Cross compile podman binary for multiple architectures
podman-mac-helper           Build podman-mac-helper for macOS
podman-remote-release-%.zip Build podman-remote for %=$GOOS_$GOARCH, and docs. into an installation zip.
rpm-install                 Install rpm packages
rpm                         Build rpm packages
test                        Run unit, integration, and system tests.
validatepr                  Go Format and lint, which all code changes must pass
```

So I'm proposing a way to differentiate btween them.

Signed-off-by: Osama Albahrani <54853250+osalbahr@users.noreply.github.com>
2025-08-01 23:47:19 +03:00
shiavm006
f96eccb1ac docs: add examples with resource limits and mounts to podman pod create manpage
Add comprehensive examples showing shared resource limits and volume mounts
for all containers in a pod. This addresses the missing examples for resource limits and mounts in the
podman pod create manpage.

Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-08-01 23:10:05 +05:30
openshift-merge-bot[bot]
0c4c9e4fbc Merge pull request #26682 from Devashish08/fix-empty-device-mode-error
Fix: Improve error message for empty device modes
2025-08-01 12:33:32 +00:00
openshift-merge-bot[bot]
1efc31117e Merge pull request #26213 from inknos/compat-get-images-json-deprecate-virtualsize
compat: remove deprecated VirtualSize
2025-08-01 12:30:46 +00:00
openshift-merge-bot[bot]
8e5ed09f0a Merge pull request #26723 from shiavm006/docs-fix-kube-play-annotation-flag
docs(kube play): clarify --annotation flag only affects containers, not pods
2025-08-01 12:14:17 +00:00
Nicola Sella
b7b7839ad3 compat: remove deprecated VirtualSize
Since compat version 1.43 the VirtualSize field in the
GET /images/{name}/json, GET /images/json, and
GET /system/df responses is deprecated and will no
longer be included in API v1.44. Use the Size field
instead, which contains the same information.

Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-01 11:46:23 +02:00
renovate[bot]
a6fa3de870 fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 05:00:20 +00:00
tomsweeneyredhat
4a7974a7a8 [CI:DOCS] Remove Experimental from Artifacts man pages
Remove the "Experimental" stanza from the Podman Artifact commands
in time for Podman v5.6 and RHEL 9.7/10.1

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-07-31 18:39:25 -04:00
Devashish08
0530a564a7 Fix: Improve error message for empty device modes in API requests
- Add specific check for empty device modes in ParseDevice function
- Change error message from 'invalid device mode: ' to 'empty device mode in device specification: <device>'
- Include full device specification in error message for better context
- Add test cases for empty device mode scenarios
- Resolves issue where '/dev/fuse::' provided unhelpful error message

Fixes #26629

Signed-off-by: Devashish08 <devashish.cs025@gmail.com>
2025-07-31 16:24:29 +00:00
openshift-merge-bot[bot]
0389651436 Merge pull request #26704 from shiavm006/fix-ancestor-filter-docker-compatibility
Fix ancestor filter to support Docker-compatible substring matching
2025-07-31 16:02:51 +00:00
openshift-merge-bot[bot]
7a3d99cc0d Merge pull request #26577 from ninja-quokka/bindings
feat: Add Podman artifact support to Go bindings and remote clients
2025-07-31 15:26:46 +00:00
shiavm006
5ab92a7499 docs(kube play): clarify --annotation flag only affects containers, not pods
Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-07-31 20:17:19 +05:30
Lewis Roy
23ebb7d94c feat: add Podman artifact support to Go bindings and remote clients
Add the Go bindings implementation necessary to support Artifacts.
Implement the tunnel interface that consumes the Artifacts Go bindings.

With this patch, users of the Podman remote clients will now be able to
manage OCI artifacts via the Podman CLI and Podman machine.

Jira: https://issues.redhat.com/browse/RUN-2714#

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-01 00:10:50 +10:00
openshift-merge-bot[bot]
b8414136ff Merge pull request #26721 from containers/renovate/github.com-mattn-go-sqlite3-1.x
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.30
2025-07-31 14:10:13 +00:00
openshift-merge-bot[bot]
1ee8460602 Merge pull request #26147 from inknos/compat-get-images-json-sharedsize
compat: Partial implementatino of compat api to Docker v1.42
2025-07-31 12:39:45 +00:00
TusharMohapatra07
0666b4ffbf events: add support for label filter with key only
Fixes: #26702

Signed-off-by: TusharMohapatra07 <tusharmohapatra.gig@gmail.com>
2025-07-31 15:12:17 +05:30
Nicola Sella
610c4c7710 compat: GET /_ping return Builder-Version: 1
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-07-31 10:17:52 +02:00
Nicola Sella
1963c6275e compat: remove GET /system/df BuilderSize
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-07-31 10:17:50 +02:00
Nicola Sella
b0e7a2ec9b compat: add shared-size par to GET /images/json
Related: https://issues.redhat.com/browse/RUN-2698

Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-07-31 10:17:06 +02:00
Jorge O. Castro
e33d92ce9e docs: add LFX Insights badges
This adds the LFX Health score and 2 contributor badges to the README. Nice work on scoring an excellent! 

Signed-off-by: Jorge O. Castro <jorge.castro@gmail.com>
2025-07-30 23:07:31 -04:00
shiavm006
b5d18e873f Fix ancestor filter to support Docker-compatible substring matching
- Remove redundant exact match checks in ancestor filter implementations
- Add comprehensive test coverage for both prefix and non-prefix substring matching
- Fix missing output verification in ID filter test
- Improve test reliability with proper length checks and consistent flags
- Remove unnecessary length check to ensure tests fail properly if image ID is too short
- Add -q and --no-trunc flags for consistent test output format
- Focus test on substring ID matching specifically (not image names)
- Restore image name matching functionality for existing tests
- Keep substring ID matching for Docker compatibility
- Ensure both regex matching and substring ID matching work together

The ancestor filter now supports both:
1. Image name matching (existing functionality)
2. Substring ID matching (new Docker compatibility feature)

Fixes: #26623
Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-07-30 23:02:40 +05:30
openshift-merge-bot[bot]
b97937ecc4 Merge pull request #26276 from inknos/compat-get-images-json-empty-list-repotags
compat: GET /images/json returns [] instead of <none>:<none> in RepoTags and RepoDigest
2025-07-30 16:09:25 +00:00
renovate[bot]
924e03ac97 fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 14:38:28 +00:00
openshift-merge-bot[bot]
c6e94498a3 Merge pull request #26717 from containers/renovate/go-github.com-docker-docker-vulnerability
fix(deps): update module github.com/docker/docker to v28.3.3+incompatible [security]
2025-07-30 14:37:04 +00:00
renovate[bot]
88bb9daeab fix(deps): update module github.com/docker/docker to v28.3.3+incompatible [security]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 00:36:46 +00:00
openshift-merge-bot[bot]
291b97f1e8 Merge pull request #26687 from containers/renovate/sigs.k8s.io-yaml-1.x
fix(deps): update module sigs.k8s.io/yaml to v1.6.0
2025-07-29 16:35:29 +00:00
openshift-merge-bot[bot]
499977538a Merge pull request #26562 from d2weber/patch-1
Fix link in rootless_tutorial.md
2025-07-29 12:25:21 +00:00
renovate[bot]
0740b94fcd fix(deps): update module sigs.k8s.io/yaml to v1.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-29 09:23:58 +00:00
openshift-merge-bot[bot]
89758839d7 Merge pull request #26707 from shiavm006/fix-pod-clone-manpage-resource-limits
docs: add resource limit examples to podman pod clone manpage
2025-07-28 21:06:16 +00:00
openshift-merge-bot[bot]
a9ed97d4cf Merge pull request #26692 from giuseppe/add-certdir-creds-to-podman-create-run
podman: add --creds and --cert-dir to create/run
2025-07-28 20:21:22 +00:00
shiavm006
003a4d44a1 docs: add resource limit examples to podman pod clone manpage
Fixes: #26372
Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-07-28 20:28:17 +05:30
openshift-merge-bot[bot]
d4fb80e6ce Merge pull request #26664 from ninja-quokka/improve_--network_path_warning
Improve handling of --publish and incompatible NetNS modes
2025-07-28 14:36:03 +00:00
openshift-merge-bot[bot]
54e075326a Merge pull request #26683 from TomSweeneyRedHat/dev/tsweeney/skip_diff_tests
Skip rather than comment bad diff tests
2025-07-28 14:11:09 +00:00
openshift-merge-bot[bot]
35da2d7205 Merge pull request #26684 from containers/renovate/github.com-mattn-go-sqlite3-1.x
Update module github.com/mattn/go-sqlite3 to v1.14.29
2025-07-28 13:43:03 +00:00
openshift-merge-bot[bot]
cc64a1137e Merge pull request #26699 from podmanbot/bump-main-5.7.0-dev
Bump main to v5.7.0-dev
2025-07-28 10:26:32 +00:00
Lewis Roy
81d6d90195 Improve handling of --publish and incompatible NetNS modes
Handling is improved by:
- Inverting detection logic so all incompatible NetNS modes that can't be used with
the `--publish` option will now print a warning to the user.
- Updating the --publish documentation
- Extract detection logic out to it's own function with a note to keep
  docs in sync.

Note: path mode was added after this warning logic was added:
- https://github.com/containers/podman/pull/8230
- https://github.com/containers/podman/pull/16386

Relates-to: https://github.com/containers/podman/issues/26663

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-07-28 20:20:05 +10:00
openshift-merge-bot[bot]
e6a439a5c6 Merge pull request #26617 from mtrmac/common-signing
Consolidate the definition and consumption of --sign* CLI options
2025-07-28 10:15:26 +00:00
Miloslav Trmač
df2862e72c Consolidate the definition and consumption of --sign* CLI options
There are three copies of them, and already a shared utility, so
also define the options in a single place.

This will make it easier to add more options, and it reduces the risk
of incorrectly ordering the parameters to PrepareSigning.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2025-07-25 22:33:39 +02:00
Miloslav Trmač
426e787beb Fix (podman artifact push --creds)
Actually use the parsed values.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2025-07-25 22:33:39 +02:00