1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 06:45:31 +01:00
Commit Graph

26593 Commits

Author SHA1 Message Date
Mayowa Fajobi
1bfd4cb95b Fix healthcheck argument with spaces split in Docker API (#27818)
Fixes: #26519

Signed-off-by: MayorFaj <mayorfaj@gmail.com>
2026-02-03 12:49:28 +01:00
Paul Holzinger
cadc74b796 Merge pull request #27995 from chkpnt/proxyenv
Write DefaultEnvironment proxy values to /etc/systemd/user.conf.d/default-env.conf
2026-02-03 12:48:21 +01:00
Mario Loriedo
6e053689d5 Merge pull request #27795 from MayorFaj/fix-env-envfrom-precedence-27287
fix: ensure environment variable precedence between env and envFrom
2026-02-03 11:31:59 +01:00
Brent Baude
98788a6b5e Merge pull request #28011 from alexey-tikhonov/update-rootless-tutorial
rootless_tutorial: mention LDAP support for subid ranges
2026-02-02 15:04:27 -06:00
Alexey Tikhonov
1a5822dc91 rootless_tutorial: mention LDAP support for subid ranges
Signed-off-by: Alexey Tikhonov <atikhono@redhat.com>
2026-02-02 18:14:43 +01:00
Gregor Dschung
644bf2e04a Fix interfering escaping of commas and spaces in no_proxy variable
Signed-off-by: Gregor Dschung <gregor@chkpnt.de>
2026-02-02 15:49:25 +01:00
Gregor Dschung
a6167bdecc Write DefaultEnvironment proxy values to /etc/systemd/user.conf.d/default-env.conf
Otherwise, the proxy values aren't passed to rootless podman.

Signed-off-by: Gregor Dschung <gregor@chkpnt.de>
2026-02-02 15:49:05 +01:00
Gregor Dschung
e545f9ca61 Fix test proxyenv/env_test.go for systems that use proxy variables
Signed-off-by: Gregor Dschung <gregor@chkpnt.de>
2026-02-02 15:42:00 +01:00
Paul Holzinger
2467b71c4a Merge pull request #28005 from ninja-quokka/update_lewis_maintainer
Update Lewis' affiliation
2026-02-02 14:22:14 +01:00
Lewis Denny
9e530ca938 Update Lewis' affiliation
Signed-off-by: Lewis Roy <lewisdenny@me.com>
2026-02-02 19:12:19 +10:00
Brent Baude
432687d1fc Merge pull request #27996 from Luap99/conmon-buffer
remove dep on github.com/containers/conmon
2026-01-30 15:01:38 -06:00
Paul Holzinger
b8a758c859 Merge pull request #27990 from mheon/update_rootless_md
Do an update pass on rootless.md to bring it up to date
2026-01-30 17:30:11 +01:00
Paul Holzinger
36f8e3d4ac Merge pull request #27965 from afbjorklund/validatepr-cachevolumes
Add cache volumes for validatepr builds
2026-01-30 14:49:30 +01:00
Paul Holzinger
19aba793c0 remove dep on github.com/containers/conmon
We use only for a single const so inline that and use a better variable
name.

The main reason is the latest version of conmon removed that go code so
the update of it will be broken.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-01-30 12:51:50 +01:00
Matt Heon
7778b427eb Do an update pass on rootless.md to bring it up to date
Signed-off-by: Matt Heon <matthew.heon@pm.me>
2026-01-29 15:01:56 -05:00
Anders F Björklund
5f19b25aaf Add cache volumes for validatepr builds
This speeds up the build a lot (10x), the second time.

Also add --init, so that it is possible to cancel it.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2026-01-29 19:55:20 +01:00
Paul Holzinger
d1ebf848a8 Merge pull request #27985 from containers/renovate/major-github-artifact-actions
[skip-ci] Update GitHub Artifact Actions (major)
2026-01-29 18:32:03 +01:00
renovate[bot]
07ab42eed5 [skip-ci] Update GitHub Artifact Actions
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 14:05:32 +00:00
Paul Holzinger
dee7350235 Merge pull request #27978 from containers/renovate/google.golang.org-grpc-1.x
fix(deps): update module google.golang.org/grpc to v1.78.0
2026-01-29 15:04:29 +01:00
renovate[bot]
1bff1ad004 fix(deps): update module google.golang.org/grpc to v1.78.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 20:49:14 +00:00
Matt Heon
a5e55f5129 Merge pull request #27975 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.49.0
2026-01-28 15:46:59 -05:00
Brent Baude
3d4f25e6d3 Merge pull request #27936 from inknos/get-exists-quadlet-api
Add GET /quadlets/{name}/exists
2026-01-28 10:58:46 -06:00
Brent Baude
5f7ebe60ea Merge pull request #27973 from cuiweixie/typo
typo: resouceNames to resourceNames
2026-01-28 10:37:08 -06:00
renovate[bot]
d9b42515da fix(deps): update module golang.org/x/net to v0.49.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 16:31:38 +00:00
Paul Holzinger
7aa42c81b1 Merge pull request #27974 from containers/renovate/github.com-coreos-go-systemd-v22-22.x
fix(deps): update module github.com/coreos/go-systemd/v22 to v22.7.0
2026-01-28 17:29:47 +01:00
Brent Baude
b60d234da4 Merge pull request #27827 from lsm5/podman6-no-cni
Podman6: Remove CNI
2026-01-28 10:20:56 -06:00
renovate[bot]
3be0eb8b40 fix(deps): update module github.com/coreos/go-systemd/v22 to v22.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 14:50:23 +00:00
Paul Holzinger
963d025612 Merge pull request #27972 from containers/renovate/setuptools-80.x
chore(deps): update dependency setuptools to ~=80.10.2
2026-01-28 15:48:18 +01:00
Weixie Cui
27d0f5fff6 typo: resouceNames to resourceNames
Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
2026-01-28 20:31:13 +08:00
Paul Holzinger
a983a8610a Merge pull request #27968 from chawyehsu/patch-1
chore(machine): remove unused EvalSymlinksOrClean function and tests
2026-01-28 13:12:30 +01:00
renovate[bot]
568f9645c5 chore(deps): update dependency setuptools to ~=80.10.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 11:40:39 +00:00
Paul Holzinger
81d09fc6b5 Merge pull request #27969 from containers/renovate/zizmorcore-zizmor-action-0.x
[skip-ci] Update zizmorcore/zizmor-action action to v0.4.1
2026-01-28 12:39:39 +01:00
renovate[bot]
0c04f53374 [skip-ci] Update zizmorcore/zizmor-action action to v0.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 22:32:18 +00:00
Brent Baude
fe00b4c857 Merge pull request #27966 from containers/renovate/github.com-rootless-containers-rootlesskit-v2-2.x
fix(deps): update module github.com/rootless-containers/rootlesskit/v2 to v2.3.6
2026-01-27 16:31:10 -06:00
Chawye Hsu
ce568f75dc chore(machine): remove unused EvalSymlinksOrClean function and tests
Related to https://github.com/containers/container-libs/pull/612

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
2026-01-28 02:42:45 +08:00
renovate[bot]
36d4c7c696 fix(deps): update module github.com/rootless-containers/rootlesskit/v2 to v2.3.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 16:16:07 +00:00
Paul Holzinger
b54a783165 Merge pull request #27963 from containers/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6.0.2
2026-01-27 17:13:51 +01:00
Nicola Sella
eb0c4716d3 Add GET /quadlets/{name}/exists
Fixes: https://issues.redhat.com/browse/RUN-4068

Signed-off-by: Nicola Sella <nsella@redhat.com>
2026-01-27 16:10:56 +01:00
Paul Holzinger
a6a6ac72c4 Merge pull request #27962 from l0rd/fix-multi-line-in-ps1
Fix PowerShell `Write-Error` multi-line argument
2026-01-27 16:05:30 +01:00
renovate[bot]
7331ccbc16 [skip-ci] Update actions/checkout action to v6.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 14:52:22 +00:00
Ashley Cui
443c0797ff Merge pull request #27900 from baude/issue408vendor
Vendor common test for artifact digest lookup
2026-01-27 09:51:07 -05:00
Mario Loriedo
f71465a025 Fix PowerShell Write-Error multi-line argument
This is a follow-up of d04c84e7 and fixes the error message that is
displayed if someone tries to run `contrib/win-installer/build.ps1` but
doesn't have the .NET SDK installed.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-01-27 15:06:51 +01:00
Paul Holzinger
990733c32f Merge pull request #27925 from afbjorklund/validatepr-architecture
Set architecture for validatepr builds
2026-01-27 12:54:35 +01:00
Lokesh Mandvekar
721e889476 Update tutorial documentation to remove CNI references
Remove CNI migration instructions and backend selection guidance
from the basic networking tutorial. Simplify DHCP configuration
section to only document netavark setup, removing CNI-specific
instructions.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
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
Lokesh Mandvekar
454167efa9 Remove CNI-specific code paths from libpod
Remove CNI-specific conditional logic and update comments throughout
the libpod networking code:

- Simplified DNS configuration logic in container_internal_common.go
  to always use netavark behavior (removed backend checks)
- Removed CNI-specific iptables chain error regex pattern
- Updated all comments referencing 'CNI' to use 'netavark' or
  'network backend'
- Renamed variable 'cniNet' to 'netInfo' for clarity
- Updated field and type documentation to remove CNI references

All networking code now assumes netavark as the sole backend.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
Lokesh Mandvekar
f6bddc8af2 Remove CNI backend configuration from runtime
Remove runtime configuration options for CNI network backend:

Runtime options:
- Remove WithNetworkBackend() runtime option function
- Function allowed setting network backend programmatically

Flag handling:
- Remove --network-backend flag change detection
- Remove call to WithNetworkBackend() when flag changed
- Remove TODO comment about CNI plugins directory flag

The network backend configuration is now handled entirely by the
vendored common/libnetwork code, which will default to Netavark.
There is no longer any way to configure CNI as the network backend
through Podman's runtime initialization.

Note: libpod/info.go keeps existing NetworkBackend reporting logic
which will automatically report "netavark" as the only backend since
configuration defaults to netavark and cannot be changed to CNI.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
Lokesh Mandvekar
73ef7cfcdc Remove CNI backend from CLI options and completions
Remove user-facing CLI options for CNI network backend:

CLI flags:
- Keep --network-backend global flag as hidden and deprecated for
  backward compatibility with cleanup commands from 5.x containers
- Map flag to a throwaway variable (value is ignored)
- Remove shell completion for network backend values

Shell completions:
- Remove AutocompleteNetworkBackend() function
- Remove references to CNI and Netavark type constants

Backward compatibility:
- Remove --rootless-cni flag alias for podman unshare
- Remove SetNormalizeFunc that mapped rootless-cni to rootless-netns
- Update --rootless-netns flag description to mention only netavark

The --network-backend flag remains as a hidden deprecated flag to
prevent failures when upgrading from 5.x where containers may have
cleanup commands that include this flag. The flag is accepted but
ignored. Users can no longer specify CNI as a network backend option.
The --rootless-cni alias is removed; users must use --rootless-netns.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
Lokesh Mandvekar
83ffeb1b26 Remove test infrastructure for CNI/Netavark backend selection
Remove test framework code that supported dual network backends:

Test utilities:
- Remove NetworkBackend enum type and constants (CNI, Netavark)
- Remove NetworkBackend.ToString() method
- Remove NetworkBackend field from PodmanTest struct

Test infrastructure:
- Remove SkipIfCNI() helper function
- Remove SkipIfNetavark() helper function
- Remove network backend selection logic based on NETWORK_BACKEND env var
- Remove CNI-specific network config directory setup
- Hardcode "netavark" in podman command line construction (flag will be removed in later commit)

Simplify test helpers:
- Simplify generateNetworkConfig() to only generate Netavark configs
- Remove conditional CNI vs Netavark network ID logic
- Update IP allocation comment to remove CNI-specific behavior description

Remove SkipIfCNI() calls from tests:
- Remove skip guards from Netavark-only feature tests
- These tests now run universally since Netavark is the only backend

Documentation:
- Remove NETWORK_BACKEND environment variable from test/README.md

All tests that were previously skipped with SkipIfCNI (Netavark-only
features) will now run for all users since Netavark is the only
supported network backend.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
Lokesh Mandvekar
858cb58c90 Remove CNI-specific test cases
Remove test cases that only tested CNI-specific functionality:
- Remove "podman --cni-config-dir backwards compat" test
- Remove "podman CNI network create with internal should not have dnsname" test

Update CNI-specific test names to be network-backend agnostic:
- Rename "podman inspect container single CNI network" to "podman inspect container single network"
- Rename "podman inspect container two CNI networks (container not running)" to "podman inspect container two networks (container not running)"
- Rename "podman inspect container two CNI networks" to "podman inspect container two networks"
- Rename "podman run in custom CNI network with --static-ip" to "podman run in custom network with --static-ip"
- Rename "podman rootless cni adds /usr/sbin to PATH" to "podman rootless adds /usr/sbin to PATH"

Update test content to be backend-agnostic:
- Update skip reasons from "Requires root CNI networking" to "Requires root networking"
- Change --rootless-cni flag usage to --rootless-netns
- Update comments from "CNI network" to "network"
- Update comments from "iptables" to "nftables" for netavark
- Update test assertions to remove CNI-specific messaging

Remove CNI-related test documentation and comments:
- Remove commented-out CNI error messages from Python API tests
- Remove CNI network namespace error documentation from upgrade tests
- Remove CNI-related comments from BATS tests

Remove unused import of github.com/containernetworking/plugins/pkg/ns
from test/e2e/run_networking_test.go (test-only usage).

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30