Commit Graph

26346 Commits

Author SHA1 Message Date
Jan Rodák
cfe4d46d89 Optimize image loading for Podman machines
Add support for loading images directly from machine paths to avoid
unnecessary file transfers when the image archive is already accessible
on the running machine through mounted directories.

Changes include:
- New /libpod/local/images/load API endpoint for direct machine loading
- Machine detection and path mapping functionality
- Fallback in tunnel mode to try optimized loading first

This optimization significantly speeds up image loading operations
when working with remote Podman machines by eliminating redundant
file transfers for already-accessible image archives.

Fixes: https://issues.redhat.com/browse/RUN-3249
Fixes: https://github.com/containers/podman/issues/26321

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-08-19 12:33:15 +02:00
Jan Rodák
0a9d5ca75d Skip JSON parsing for non-JSON error responses
Check Content-Type header before unmarshaling errors to avoid
unnecessary JSON parsing overhead for plain text responses.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-08-19 12:33:15 +02:00
Lewis Roy
be0ad4a7aa [docs] Refactor Artifact API documentation
Add artifact tag to tags.yaml so API docs are ordered correctly
(alphabetically with libpod endpoints first).

Refactor artifact API documentation to be consistently formated.

Refactor some descriptions and summaries to be more accurate and user
friendly.

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-19 10:22:00 +10:00
openshift-merge-bot[bot]
f29cdc7ced Merge pull request #26856 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.24.0
2025-08-18 19:22:32 +00:00
openshift-merge-bot[bot]
37776dde3f Merge pull request #26847 from arixmkii/win-build-timeout
Configurable GINKGOTIMEOUT in `winmake.ps1`
2025-08-18 19:07:54 +00:00
openshift-merge-bot[bot]
cdc2d4e17c Merge pull request #26838 from Raghul-M/podmanrm
docs: Add missing --ignore flag example to podman rm man page
2025-08-18 18:26:08 +00:00
renovate[bot]
2e7d6135c6 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.24.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 16:56:36 +00:00
openshift-merge-bot[bot]
e8a40a3994 Merge pull request #26825 from Raghul-M/commands_manpages
docs: Add --format flag examples to commands in man pages
2025-08-18 16:55:12 +00:00
shiavm006
96d9a00adb docs(run,create): note remote clients support only docker transport
On remote clients (incl. Mac/Windows, excl. WSL2), file-based transports (oci-archive:, docker-archive:, docker-daemon:) are not supported. Also fix trailing whitespace per pre-commit.

Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-08-18 18:45:08 +05:30
Arthur Sengileyev
10f9c9a7e8 Configurable GINKGOTIMEOUT in winmake.ps1
Allows to override default timeout values for test runs.

Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
2025-08-16 21:33:53 +03:00
Raghul-M
e1d6dfd2c7 Fixes #26369
Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
2025-08-16 01:30:20 +05:30
Raghul-M
46ee62ca6a Fixes: #26353
Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
2025-08-15 23:14:24 +05:30
openshift-merge-bot[bot]
8674775039 Merge pull request #26826 from Raghul-M/systemsocket_manpage
docs: Add custom socket path example to podman system service man page
2025-08-15 17:29:44 +00:00
openshift-merge-bot[bot]
3dddd21188 Merge pull request #26766 from kwentine/patch-1
docs: Typos
2025-08-15 17:07:51 +00:00
openshift-merge-bot[bot]
b1a32f65ee Merge pull request #26790 from baude/20253q
2025 3Q Roadmap Update
2025-08-15 15:30:10 +00:00
Brent Baude
4690bce8a8 2025 3Q Roadmap Update
Some updates following the 3Q 2025 priority updates.  We have a lot of
spikes that accompany work not listed here but given they are not true
features, I am not adding them

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-08-15 10:12:57 -05:00
shiavm006
c33af3c8dd docs: add missing groups and hgroups descriptors to podman-top documentation
Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
2025-08-15 19:46:56 +05:30
Raghul-M
fda74ee619 added system-connection-add options example
Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
2025-08-15 16:42:02 +05:30
openshift-merge-bot[bot]
618aa05d18 Merge pull request #26827 from nalind/loosen-regexp
test/buildah-bud/run-buildah-bud-tests: loosen the branch regexp
2025-08-15 09:16:57 +00:00
renovate[bot]
68ed0c08e6 fix(deps): update module github.com/containers/gvisor-tap-vsock to v0.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 00:34:14 +00:00
Nalin Dahyabhai
700351a813 test/buildah-bud/run-buildah-bud-tests: loosen the branch regexp
Recognize that pseudoversions that look like
v0.0.0-20250814150820-1f7f1d285d22 are also not real branch names.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-08-14 14:26:47 -04:00
Raghul-M
21f2128d79 added example for custom socket
Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
2025-08-14 23:37:57 +05:30
openshift-merge-bot[bot]
fb294e91df Merge pull request #26740 from mohitjain1911/feature/filter-flag-docs-26351
Manpages: Add --filter flag usage examples to various commands #26351
2025-08-14 15:14:03 +00:00
openshift-merge-bot[bot]
d9764bbc70 Merge pull request #26820 from containers/renovate/golangci-golangci-lint-2.x
chore(deps): update dependency golangci/golangci-lint to v2.4.0
2025-08-14 13:24:33 +00:00
openshift-merge-bot[bot]
a73aa5710b Merge pull request #26818 from containers/renovate/docker.io-library-golang-1.x
chore(deps): update docker.io/library/golang docker tag to v1.25
2025-08-14 09:13:53 +00:00
renovate[bot]
599c635f9f chore(deps): update dependency golangci/golangci-lint to v2.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-14 03:58:04 +00:00
renovate[bot]
6d54a298c9 chore(deps): update docker.io/library/golang docker tag to v1.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-13 22:10:26 +00:00
openshift-merge-bot[bot]
6e9ae9fa5a Merge pull request #26808 from ninja-quokka/add_rm_--all_artifact_flag
feat: Add podman artifact remove --all option
2025-08-13 20:10:24 +00:00
openshift-merge-bot[bot]
2a8380ec25 Merge pull request #26804 from containers/renovate/actions-checkout-5.x
[skip-ci] Update actions/checkout action to v5
2025-08-13 18:02:09 +00:00
Lewis Roy
3ca729a2fb fix: Correct small typo foce -> force
Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-13 23:00:27 +10:00
Lewis Roy
f38e32760d feat: Add artifact remove --all option
Prior to this commit `artifact remove --all` was not supported on remote
clients.

This patch adds a new artifact API endpoint `artifact/remove` which can
either take a list of artifacts to remove or remove all artifacts by
setting all=true.

This patch removes the temporary warning message in the tunnel interface
implementation of ArtifactRm if `--all` was passed on the command line
and uses the new `artifact/remove` endpoint.

This patch also updates the `artifact remove` command both remote and
local to accept a list of artifacts to remove rather than limiting to
just one.

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-13 23:00:20 +10:00
openshift-merge-bot[bot]
acb75ca6c1 Merge pull request #26784 from Luap99/buildah-replace-test
test/buildah-bud: fix checkout to also handle go.mod replace
2025-08-12 19:51:23 +00:00
Mark Russell
b0febf3336 Update ADOPTERS.md
Removing last line again.

Co-authored-by: Jan Rodák <hony.com@seznam.cz>
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-11 18:16:47 -04:00
openshift-merge-bot[bot]
a9e80f9d6d Merge pull request #26785 from Luap99/user-mode-docs
make machine --user-mode-networking docs more clear
2025-08-11 21:13:50 +00:00
openshift-merge-bot[bot]
55996138fa Merge pull request #26788 from mheon/deprecate_boltdb_notice
Add BoltDB deprecation notice
2025-08-11 19:43:58 +00:00
openshift-merge-bot[bot]
6ab595814d Merge pull request #26732 from shiavm006/docs-pod-create-examples-only
docs: add examples with resource limits and mounts
2025-08-11 18:56:40 +00:00
Paul Holzinger
5706d2a61e make machine --user-mode-networking docs more clear
The docs were outdated mentioning the qemu backed for Mac and I find the
way they are written to be a bit confusing.

I think it is best to start with that this option is not supported on
all the providers except WSL.

Fixes: #26780

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-08-11 17:27:18 +02:00
renovate[bot]
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
Paul Holzinger
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
Paul Holzinger
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
Mark Russell
b6b8d05a52 Small changes suggested by markdown linter.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-09 15:00:27 -04:00
Mark Russell
a0e6396c43 Updated with Type descriptions.
Signed-off-by: Mark Russell <mrussell@redhat.com>
2025-08-09 14:17:43 -04:00
openshift-merge-bot[bot]
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
openshift-merge-bot[bot]
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
openshift-merge-bot[bot]
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
Matt Heon
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
Paul Holzinger
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
renovate[bot]
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
Mark Russell
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
Joshua Arrevillaga
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