25809 Commits

Author SHA1 Message Date
4bb4cf62cb [skip-ci] Update actions/checkout action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 13:22:56 +00:00
512e04946c remove outdated dependencies/analyses scripts
They require many manual steps and are actively misleading even. The
size reported via this script is before unused symbols get trimmed by
the compiler so the package binary size here is meaningless.

As such I think they do not add any value over the script added in
contrib/dependencies so just remove them. This also gets rid of the top
level dependencies directory which serves no purpose and I think the new
scrip is better under contrib/.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-11 11:23:21 +02:00
5f5519607b contrib: add script and docs to analyze dependency usage
As part of my debloat activity I wrote a small script that makes use of
goda[1] to check our imports and what we can likely trim to reduce the
binary size.

I also added a readme to document what I did basically. This should help
anyone doing this work in the future again.

[1] github.com/loov/goda

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-11 11:23:21 +02:00
b6b8d05a52 Small changes suggested by markdown linter.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-09 15:00:27 -04:00
a0e6396c43 Updated with Type descriptions.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-09 14:17:43 -04:00
9f7af81cf8 Merge pull request #26718 from ninja-quokka/machine_init_tls_verify
Add support for configuring tls verification with machine init
2025-08-09 16:25:14 +00:00
f0ec320fad Merge pull request #26782 from containers/renovate/golang.org-x-net-0.x
Update module golang.org/x/net to v0.43.0
2025-08-09 13:18:59 +00:00
f65db50740 Merge pull request #26765 from 2004joshua/log_location
feat: added log_path support for configuration files
2025-08-08 13:06:12 +00:00
9a2dccf4f4 Add a deprecation notice for users of BoltDB
Right now, only log-level=info, so not shown by default. We can
continue to up this in subsequent releases to convince folks of
the urgency of switching.

Resolves https://issues.redhat.com/browse/RUN-3343

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-08 09:02:02 -04:00
9b62438ede test/buildah-bud: fix checkout to also handle go.mod replace
There is a rather surprising bug in the current test checkout logic. The
go.mod version parsing never actually consider a go.mod replace for
buildah and always read the main version.

This meant a buildah replace actually is testing the old version with
the new code and that means the new tests are not run leading people in
false belive when testing a buildah vendor that it worked. But then
later it fails when doing the proper update without replace.

To fix this first use go list to parse go.mod which is more robust. Then
first check if there is a replace and then use that repo/version
instead.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-08 12:42:58 +02:00
8633b5edeb Update module golang.org/x/net to v0.43.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-08 05:09:52 +00:00
cc465e7227 Updated with badges for Type and no extra line.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-07 17:37:35 -04:00
930cd25739 Feat: Add log_path support in containers.conf
Added log_path variable in containers/common, User sets default log path in containers.conf under the `[containers]` section.
The directory has to exist beforehand. Container logs go under this directory, sub-directories named with the container id
and inside the sub-directory a ctr.log file will be created where the container logs for the corresponding container will go.
This path can be overridden by using the `--log-opt` flag.

Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
2025-08-07 17:04:13 -04:00
e14b8acba8 Update vendor dependencies
- Update github.com/containers/common to v0.64.1-0.20250806164630-57def9601f3b
- Update github.com/spf13/pflag to v1.0.7
- Update github.com/seccomp/libseccomp-golang to v0.11.1

Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
2025-08-07 14:54:08 -04:00
1d6fda8eda New: initial ADOPTERS.md file.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-07 13:23:41 -04:00
7247d84fbe Fix typo
Signed-off-by: Quentin Ågren <quentin.agren@gmail.com>
2025-08-07 07:28:06 +02:00
a75f74b1d3 Fixes: #26691
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
2025-08-06 22:34:18 +03:00
a97d90c89b Merge pull request #26728 from TomSweeneyRedHat/dev/tsweeney/killexperimental
[CI:DOCS] Remove Experimental from Artifacts man pages
2025-08-06 18:06:30 +00:00
2959d9f7ec fix: drop yearly contributor badge
At least the other two work properly. 😄 

Signed-off-by: Jorge O. Castro <jorge.castro@gmail.com>
2025-08-06 12:37:59 -04:00
b147284641 Merge pull request #26734 from osalbahr/makefile-clarify-binaries
Makefile: Clarify different `binaries` targets
2025-08-06 12:20:57 +00:00
dafc0c4e32 Merge pull request #26759 from containers/renovate/major-github-artifact-actions
[skip-ci] Update actions/download-artifact action to v5
2025-08-06 08:15:51 +00:00
086af0f567 Merge pull request #26751 from Luap99/build-context-machine
pkg/machine/e2e: remove build context skip
2025-08-06 08:13:04 +00:00
8ef76a6933 [skip-ci] Update actions/download-artifact action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-06 02:06:42 +00:00
15134d2931 Merge pull request #26741 from lsm5/podman-next-failure-silence-notification
Packit: do not notify on podman-next failures
2025-08-05 16:38:45 +00:00
a154401e0a Merge pull request #26750 from mohitjain1911/feature/podman-container-runlabel-docs-26379
Feature/podman container runlabel docs 26379
2025-08-05 16:24:24 +00:00
b5fce87237 Manpages: Added --filter flag examples to all the relevant podman
manpages

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added --filter examples to podman-stop.1.md.in

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added examples for --filter flag for 'podman start'  command in podman-start.1.md.in

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added examples for --filter flag for 'podman rm'  command in podman-rm.1.md.in

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added examples for --filter flag for 'podman restart' command in podman-restart.1.md.in

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added examples for --filter flag for 'podman pod ps' command in podman-pod-ps.1.md.in

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>

Manpages: Added examples for --filter flag for 'podman system prune' command in podman-system-prune.1.md

Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>
2025-08-05 18:12:14 +05:30
7c95ceae57 Manpages: podman container runlabel added example with --replace
Signed-off-by: mohitjain1911 <mohitjain19113@gmail.com>
2025-08-05 18:04:37 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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