Commit Graph

3398 Commits

Author SHA1 Message Date
flouthoc
c22c3271bb quadlet install: multiple quadlets from single file should share app
Quadlets installed from `.quadlet` file now belongs to a single
application, anyone file removed from this application removes all the
other files as well.

Assited by: claude-4-sonnet

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-11-17 10:23:28 -08:00
flouthoc
e787b4f503 quadlet: add support for multiple quadlets in a single file
Enable installing multiple quadlets from one file using '---' delimiters.
Each section requires '# FileName=<name>' comment for custom naming.
Single quadlet files remain unchanged for backward compatibility.

Assited by: claude-4-sonnet

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-11-10 08:25:48 -08:00
Brent Baude
b4ec460ed4 Add update-connection to machine start and init
This allows users to set the associated machine's system connection to the system default when running `podman machine init --now` or `podman machine start`.  It also changes the default bbehavior of these commands in that the user will be prompted and asked if they would like to switch the system connection.  It also introduces a command line switch called `--update-connection`.  If the switch is unset, then the user will be prmpted.  If the command value is explicitly set to `false`, the user will not be prompted and the system connection will not be altered.  If the value is set to `true`, the system connection will be made the default and the user will not be prompted.

Fixes: https://issues.redhat.com/browse/RUN-3632

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-11-04 10:35:28 -06: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
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]
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
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
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
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]
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]
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
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
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
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]
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
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
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
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
openshift-merge-bot[bot]
0be09e12d1 Merge pull request #27337 from sola-contrib/uidmap-doc-fix
fix: typo in uidmap option doc
2025-10-22 11:17: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
Sola
ca106301f8 fix: typo in uidmap option doc
The following section describes how to map to host ID `1`, not `1000`

Signed-off-by: Sola <dev@sola.love>
2025-10-22 01:02:36 +08:00
openshift-merge-bot[bot]
d906918c3d Merge pull request #27295 from not-my-profile/docs-api-version
docs: introduce custom version selector in api.html
2025-10-21 15:10:21 +00: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
Martin Fischer
f87c8b9cba docs: introduce custom version selector in api.html
Fixes: #27277

Signed-off-by: Martin Fischer <martin@push-f.com>
2025-10-17 04:59:47 +02: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
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
Rosvaldas Atstupėnas
0a20e22384 Add default runtime flags in config
Added a way to define default runtime flags in config.

Fixes: https://github.com/containers/common/issues/715

Default runtime flags should be defined as shown below:

[engine.runtimes_flags]
runsc = [
  "net-raw",
]

crun = [
  "debug",
]

Signed-off-by: Rosvaldas Atstupėnas <atstupenas.rosvaldas@gmail.com>
2025-10-16 13:51:46 -04: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
Oleksandr Krutko
098d8efecc add option to remove Pod name prefix in resulting container name
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
2025-10-15 23:37:03 +03:00
Martin Fischer
fa5d6cc103 docs: initialize redoc via JS API
Preparation for the next commit in which we'll make the script tag async
(in order to use await to fetch the new versions.json file).

Signed-off-by: Martin Fischer <martin@push-f.com>
2025-10-15 05:31:26 +02:00
Martin Fischer
858150288f docs: generate Reference version list from json file
Signed-off-by: Martin Fischer <martin@push-f.com>
2025-10-15 05:31:01 +02: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
givensuman
1e713c1a5f Add BuildArg example into documentation
Signed-off-by: givensuman <givensuman@duck.com>
2025-10-10 13:25:04 -04: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
givensuman
b4d81c0338 Run make validatepr
Signed-off-by: givensuman <givensuman@duck.com>
2025-10-09 09:45:11 -04:00
given
c0a09e7f10 Update docs/source/markdown/podman-systemd.unit.5.md
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: givensuman <givensuman@duck.com>
2025-10-09 09:44:53 -04:00