Commit Graph

2472 Commits

Author SHA1 Message Date
Lokesh Mandvekar
daadda83f1 Merge pull request #28210 from cyqsimon/quadlet-template-docs
Quadlet docs: add section on referencing other template Quadlets
2026-03-09 18:49:48 +05:30
cyqsimon
c30fe73dfb Quadlet docs: clarify behaviour of VolumeName default
Signed-off-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2026-03-09 11:54:05 +08:00
Paul Holzinger
5adac65c0a Merge pull request #28208 from mtrmac/tls-behavior-basics
Add --tls-details for (pull, push, run, login, logout)
2026-03-06 16:33:38 +01:00
Povilas Kanapickas
636eb1a401 libpod: Implement --log-opt label=LABEL=Value
This allows things like compose project names to be associated with log
messages and later used in log processing and analysis.

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2026-03-06 10:59:31 +02:00
cyqsimon
047e178298 Quadlet docs: add section on referencing other template Quadlets
Signed-off-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2026-03-06 16:40:22 +08:00
Miloslav Trmač
13e1d5af4b PARTIALLY TESTED: Add --tls-details, use it to affect libimage and the like
For remote operation, start the remote service with --tls-details:
using --tls-details on the client side will only affect client's
connection.

This should eventually include many more tests - track down all current
uses of libpod.Runtime.{SystemContext,imageContext,LibimageRuntime}.
That will come later

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-03-05 23:13:17 +01:00
Matt Heon
aefdaf317d Merge pull request #28170 from StaticRocket/bugfix/quadlet-list
fix(cmd/podman/quadlet): Behave like container ls
2026-03-03 13:03:07 -05:00
Randolph Sapp
33a36bd56b fix(cmd/podman/quadlet): Behave like container ls
Quadlet list always reports the heading, even when using custom
formatting strings. This doesn't follow the behavior of other podman
list commands. Borrow some logic and the "--noheading" flag from the
container list command to make this behavior uniform.

Signed-off-by: Randolph Sapp <rs@ti.com>
2026-03-03 10:04:37 -06:00
Jan Rodák
e44c9e5b58 Merge pull request #28160 from k9withabone/docs-quadlet-service-name
docs(podman-systemd.unit.5.md): add `ServiceName=` option to all Quadlet types
2026-03-02 11:50:17 +01:00
Matt Heon
559dce7bf8 Merge pull request #28163 from ysinghc/docs-publishport-protocol
docs(podman-systemd.unit.5.md): document protocol support for PublishPort  Fixes: #28146
2026-02-28 20:10:12 -05:00
Yuvraj Singh Chauhan
30f067354f docs(podman-systemd.unit.5.md): document protocol support for PublishPort
Fixes: #28146
Signed-off-by: Yuvraj Singh Chauhan <ysinghcin@gmail.com>

Update docs/source/markdown/podman-systemd.unit.5.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yuvraj Singh Chauhan <24429@iiitu.ac.in>

Update docs/source/markdown/podman-systemd.unit.5.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yuvraj Singh Chauhan <24429@iiitu.ac.in>

Update docs/source/markdown/podman-systemd.unit.5.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yuvraj Singh Chauhan <24429@iiitu.ac.in>

docs(podman-systemd.unit.5.md): clarify supported protocols for PublishPort

Update docs/source/markdown/podman-systemd.unit.5.md

Co-authored-by: Danish Prakash <contact@danishpraka.sh>
Signed-off-by: Yuvraj Singh Chauhan <24429@iiitu.ac.in>

docs(podman-systemd.unit.5.md): update valid protocols for PublishPort to include sctp (rootful only)

docs(podman-systemd.unit.5.md): clarify supported protocols for PublishPort
2026-02-27 15:30:57 +05:30
Paul Nettleton
f58c9dcbcb docs(podman-systemd.unit.5.md): add ServiceName= option to all Quadlet types
The `ServiceName=` Quadlet option was only documented for `.pod` and
`.artifact` units. However, it applies to all Quadlet types as it is a
global option.

Added `ServiceName=` listing and description to the `[Container]`,
`[Kube]`, `[Network]`, `[Volume]`, `[Build]`, and `[Image]` sections.

Fixes: #27015
Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
2026-02-26 10:54:53 -06:00
Ygal Blum
64ec31ac00 Add nocreate option for named volumes
Add a per-volume 'nocreate' option that prevents automatic creation of
named volumes when they don't exist. When specified, Podman will fail
if the volume is not found instead of creating it automatically.

Usage: -v myvolume:/data:nocreate
       --mount type=volume,src=myvolume,dst=/data,nocreate

See: #27862
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2026-02-26 11:14:32 -05:00
Lokesh Mandvekar
39ea7ef794 Merge pull request #28121 from pkoenig10/filterStatus
List all status values in status filter documentation
2026-02-24 17:38:00 +05:30
Paul Holzinger
1492cea16e Merge pull request #28137 from pablomh/patch-1
docs(podman-systemd.unit.5.md): Fix variable syntax
2026-02-23 15:33:02 +01:00
Jan Rodák
54e26a8c7e Merge pull request #28127 from ratijas/work/ratijas/labels 2026-02-23 13:22:06 +01:00
Pablo Méndez Hernández
072018096d docs(podman-systemd.unit.5.md): Fix variable syntax
Fix variable syntax when referencing UID.

Signed-off-by: Pablo Méndez Hernández <pablomh@redhat.com>
2026-02-22 23:05:48 +01:00
Victor Koycheff
fc089d7f1a docs: add examples for rm with --force and --time
Fixes #26365

Signed-off-by: Victor Koycheff <victorkoycheff@gmail.com>
2026-02-22 19:24:02 +02:00
Ivan Tkachenko
4fae160fcf Fix documentation inconsistency about labels
Fixes #28120

Signed-off-by: Ivan Tkachenko <me@ratijas.me>
2026-02-20 16:10:47 +02:00
Patrick Koenig
0d7f00b4c0 List all status values in status filter documentation
Signed-off-by: Patrick Koenig <pkoenig10@gmail.com>
2026-02-19 09:28:37 -05:00
Nalin Dahyabhai
474ff994b6 build: connect --source-policy-file, --mount for remote builds
Pass --mount settings and the contents of the --source-policy-file
argument to remote builds.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-02-18 14:11:12 +01:00
Jan Rodák
c581a93da5 Merge pull request #28095 from MayorFaj/fix/28031-publish-option
fix: add validation for --publish flag in container restore
2026-02-18 10:19:06 +01:00
Paul Holzinger
f4aa01967e Merge pull request #28099 from Honny1/quadlets-restart-pod
Respect user-specified `Restart=` policy in pod units
2026-02-17 12:49:20 +01:00
mhorky
9b611b5380 docs(quadlet): Unify [Network] section on removal
The original text was added in 518daef in 2023-08. Later, in 0d4a148
in 2025-04, a new option has been introduced without the text being
updated.

Signed-off-by: mhorky <mhorky@redhat.com>
2026-02-17 08:16:49 +01:00
Jan Rodák
33e8abd637 Respect user-specified Restart= policy in pod units
Fixes: https://github.com/containers/podman/issues/28081

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-02-16 22:12:18 +01:00
Ashley Cui
6cabddb091 Merge pull request #28097 from m-horky/mhorky/quadlet-ls
feat(cmd/podman/quadlet): Add 'ls' as 'list' alias
2026-02-16 12:08:22 -05:00
mhorky
901ac1b416 feat(cmd/podman/quadlet): Add 'ls' as 'list' alias
All other commands support 'ls' for itemized listing.

Signed-off-by: mhorky <mhorky@redhat.com>
Assisted-By: Claude Code
2026-02-16 14:02:56 +01:00
Paul Holzinger
0778bdaffe podman info: remove storage.conf path
Given the new config file logic will read many files pritning one
specific one here has no meaning anymore, just delete it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-02-16 13:47:56 +01:00
MayorFaj
5a1a54424c fix: enforce --publish option usage with --import in podman restore
Signed-off-by: MayorFaj <mayorfaj@gmail.com>
2026-02-15 09:38:58 +00:00
axel7083
2369ed4b71 docs(podman-systemd.unit.5.md): remove false claim on Pods HostName key
Fixes https://github.com/containers/podman/issues/28089

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2026-02-13 14:49:47 +01:00
Paul Holzinger
88bd85367d Merge pull request #28008 from shiv-tyagi/vendor-detection
Discover GPU vendor from CDI spec before injecting GPU for --gpus option
2026-02-12 18:54:34 +01:00
Shiv Tyagi
d7a80dda1e Discover vendor from cdi spec before injecting CDI device for --gpu option
Signed-off-by: Shiv Tyagi <Shiv.Tyagi@amd.com>
2026-02-12 12:11:47 +00:00
Šimon Brauner
9727a43f5a Added setting UID and GID for volumes in quadlet
Related: https://issues.redhat.com/browse/RHEL-145863

Signed-off-by: Šimon Brauner <sbrauner@redhat.com>
2026-02-11 18:16:30 +01:00
Patrick Wicki
3856389fc9 podman-healthcheck-run: add --ignore-result flag
This is useful for triggering the execution of a healthcheck
without caring about it's result as long as no fatal error occured.

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
2026-02-09 19:52:29 +01:00
Jan Rodák
111c652ae9 Merge pull request #27717 from 1AlexBunea/healthcheck-log-docs
Added healthcheck documentation.
2026-02-09 10:08:42 +01:00
Alex Bunea
e61ce8d6ea Added healthcheck documentation.
Fixes: #27202

Signed-off-by: Alex Bunea <1alexbunea@gmail.com>
2026-02-08 10:56:05 -06:00
Matt Heon
d220d58f08 Merge pull request #27993 from danishprakash/podman-buildah-vendor
vendor: update c/buildah to latest main
2026-02-04 16:02:39 -05:00
Brent Baude
60f9250d24 Merge pull request #28023 from ninja-quokka/update_common_ref
[DOCS] Update references common -> container-libs/common
2026-02-04 08:03:47 -06:00
Lewis Roy
fc18d3229d [DOCS] Update references common -> container-libs/common
Signed-off-by: Lewis Roy <lewisdenny@me.com>
2026-02-04 21:29:17 +10:00
Lewis Roy
22b10abbf3 [DOCS] Fix reference to containers.conf
Signed-off-by: Lewis Roy <lewisdenny@me.com>
2026-02-04 19:43:26 +10:00
Danish Prakash
827ba37b3e build: handle --iidfile-raw and --metadata-file flags
* docs: man page additions
* test/e2e: add tests for `--iidfile-raw` and `--metadata-file`
* test/buildah-bud: update buildah-bud test patch for buildah v1.42.1

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-02-03 09:18:29 +05:30
Brent Baude
f4138d3599 add bootc transports to os-apply
now that we use `bootc switch` for changing out-of-band updates, we can
consider also using some of their supported transports.

* containers-storage
* oci
* oci-archive
* registry

RUN-3963
Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-02-02 09:07:08 -06:00
Brent Baude
b60d234da4 Merge pull request #27827 from lsm5/podman6-no-cni
Podman6: Remove CNI
2026-01-28 10:20:56 -06:00
Lokesh Mandvekar
7ebb95a3bf Update man page documentation to remove CNI references
Removed all CNI-specific documentation from man pages:

- podman.1.md: Simplified --network-config-dir to only mention
  netavark directories
- podman-network.1.md: Removed dual backend description, now states
  netavark is the only backend
- podman-network-create.1.md: Removed CNI-specific notes about DNS
  and DHCP socket configuration
- podman-network-connect.1.md: Removed CNI limitation note about
  network aliases
- options/network-alias.md: Removed CNI limitation note about
  network aliases
- podman-info.1.md: Updated example output to show netavark backend
  information instead of CNI

All man pages now reflect netavark as the sole network backend.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
Brent Baude
2d67bf3b0a Vendor common test for artifact digest lookup
Vendor latest common with artifact changes

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-01-26 15:45:56 -06:00
Giuseppe Scrivano
f172ff789b rootless: use nsfs file handles to persist namespaces
use name_to_handle_at and open_by_handle_at to persist rootless
namespaces without needing a pause process.

The namespace file handles are stored in a file and can be used to
rejoin the namespaces, as long as the namespaces still exist.

Fall back to the pause process approach only when the kernel doesn't
support nsfs handles (EOPNOTSUPP).

The feature is currently only enabled when the PODMAN_NO_PAUSE_PROCESS
environment variable is set.

These changes in the kernel are required (landed in Linux 6.18):

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3ab378cfa793

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-01-20 18:41:59 +01:00
Brent Baude
aba2df7517 Add podman machine os upgrade command
Implements automatic OS upgrade functionality for Podman machines that requires no user input beyond running the command. The upgrade logic automatically determines the appropriate upgrade path using a three-way comparison between client version, machine version, and OCI registry:

* When the client version is older than the machine version, no action is taken and an error is returned.
* When the client version matches the machine version, the OCI registry is queried to check for in-band updates by comparing image digests.  This handles minor, patch level, and updates oci image use cases.
* When the client version is newer than the machine version, the machine is upgraded to match the client's major.minor version.
* No manual image selection or version specification required.

The command supports dry-run mode and JSON (only) output format for automation.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-01-16 14:14:06 -06:00
Matt Heon
cb67dafd36 Merge pull request #26445 from aaron-ang/update-ulimit
Add ulimits to `podman update`
2026-01-16 08:38:00 -05:00
Bryan Parry
f96e0a3fb2 Fix podman run equivalent for HealthStartPeriod
Signed-off-by: Bryan Parry <bparry@redhat.com>
2026-01-14 15:48:52 -05:00
Ashley Cui
73d6be2876 Merge pull request #27835 from kriansa/fix-timeoutstartsec-docs
docs: fix misleading TimeoutStartSec information for oneshot services
2026-01-14 11:49:03 -05:00