Commit Graph

24629 Commits

Author SHA1 Message Date
openshift-merge-bot[bot]
0798f54e94 Merge pull request #24655 from mheon/fix_volume_perms_cp
Mount volumes before copying into a container
2025-01-08 14:51:46 +00:00
openshift-merge-bot[bot]
164a47ec9e Merge pull request #24973 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.29.0
2025-01-08 13:07:15 +00:00
openshift-merge-bot[bot]
be30282343 Merge pull request #24965 from silver886/patch-1
docs: Update description for completion
2025-01-08 12:20:30 +00:00
openshift-merge-bot[bot]
2260a3448f Merge pull request #24960 from eriksjolund/fix-typo-ptxmode
specgenutil: Fix parsing of mount option ptmxmode
2025-01-08 12:14:59 +00:00
renovate[bot]
fca64e5429 fix(deps): update module golang.org/x/tools to v0.29.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 12:13:19 +00:00
openshift-merge-bot[bot]
d1f709296d Merge pull request #24972 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.34.0
2025-01-08 12:12:16 +00:00
openshift-merge-bot[bot]
4593f8d412 Merge pull request #24815 from ygalblum/quadlet-traverse-base-users-dir
Quadlet - make sure the /etc/containers/systemd/users is traversed in rootless
2025-01-08 12:06:44 +00:00
renovate[bot]
3be6c501c0 fix(deps): update module golang.org/x/net to v0.34.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 11:07:29 +00:00
openshift-merge-bot[bot]
2043fa385f Merge pull request #24962 from containers/renovate/github.com-vbauerster-mpb-v8-8.x
fix(deps): update module github.com/vbauerster/mpb/v8 to v8.9.1
2025-01-08 11:06:16 +00:00
openshift-merge-bot[bot]
0cf2417750 Merge pull request #24926 from rhatdan/quadlet
Document .build for Image .container option
2025-01-08 10:52:31 +00:00
Erik Sjölund
806722b3d6 specgenutil: Fix parsing of mount option ptmxmode
Fix typo: ptxmode -> ptmxmode

Reference: https://github.com/containers/podman/discussions/24921

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2025-01-08 11:52:11 +01:00
Giuseppe Scrivano
b0b1d19723 namespaces: allow configuring keep-id userns size
Introduce a new option "size" to configure the maximum size of the
user namespace configured by keep-id.

Closes: https://github.com/containers/podman/issues/24837

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-01-08 10:08:29 +01:00
Leo Liu
6dba0d9586 Update description for completion
Signed-off-by: Leo Liu <silver886@users.noreply.github.com>
2025-01-07 18:52:31 -08:00
Ygal Blum
0b3ad66a78 Quadlet - make sure the /etc/containers/systemd/users is traversed in rootless
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-01-07 14:49:59 -05:00
openshift-merge-bot[bot]
6abf83fc42 Merge pull request #24936 from vmasutin/fixing-ssh-identity
Fixing ~/.ssh/identity handling
2025-01-07 19:32:04 +00:00
Daniel J Walsh
418ea52e06 Document .build for Image .container option
$NAME.build is supported in .container to automatically build the
local image. This needs to be documented.

Also fix up other special cases to look the same in the man page.

Fixes: https://www.reddit.com/r/podman/comments/1hmhhhi/quadlet_build_units/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2025-01-07 14:20:43 -05:00
openshift-merge-bot[bot]
564b8f338e Merge pull request #24957 from Luap99/lint
update golangci/golangci-lint to v1.63.4
2025-01-07 19:12:50 +00:00
renovate[bot]
c75e1c41d0 fix(deps): update module github.com/vbauerster/mpb/v8 to v8.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 19:11:33 +00:00
openshift-merge-bot[bot]
c7882f0ce2 Merge pull request #24958 from Luap99/new-images
New VM Images
2025-01-07 19:10:07 +00:00
openshift-merge-bot[bot]
03cccc7fb6 Merge pull request #24854 from containers/renovate/google.golang.org-protobuf-1.x
fix(deps): update module google.golang.org/protobuf to v1.36.2
2025-01-07 17:47:36 +00:00
Paul Holzinger
62c81298fd New VM Images
https://github.com/containers/automation_images/pull/398

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-01-07 16:18:09 +01:00
Paul Holzinger
e9fb805522 update golangci/golangci-lint to v1.63.4
Fix new issues found by usetesting, mainly we should use t.TempDir() in
test which makes the code better as this will be removed on test end
automatically so no need for defer or any error checking.
Also fix issues reported by exptostd, these mainly show where we can
switch the imports to the std maps/slices packages instead of the
golang.org/x/exp/... packages.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-01-07 15:48:53 +01:00
renovate[bot]
4288c81da0 fix(deps): update module google.golang.org/protobuf to v1.36.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 14:30:22 +00:00
openshift-merge-bot[bot]
e2e40b4367 Merge pull request #24956 from containers/renovate/setuptools-75.x
chore(deps): update dependency setuptools to ~=75.7.0
2025-01-07 14:29:39 +00:00
renovate[bot]
b23349d3bd chore(deps): update dependency setuptools to ~=75.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 14:02:54 +00:00
openshift-merge-bot[bot]
601b7e45bf Merge pull request #24953 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.12
2025-01-07 14:02:10 +00:00
openshift-merge-bot[bot]
a44a760656 Merge pull request #24954 from Luap99/vendor-common
vendor latest c/common from main
2025-01-07 13:37:25 +00:00
openshift-merge-bot[bot]
ddc19ff752 Merge pull request #24908 from jmozmoz/machine_restart_after_certificate_installation
Add hint to restart Podman machine to really accept new certificates
2025-01-07 13:15:20 +00:00
Valery Masiutsin
dd76034660 Fixing ~/.ssh/identity handling
Signed-off-by: Valery Masiutsin <val.masutin@gmail.com>
2025-01-07 12:36:01 +00:00
Paul Holzinger
1dbd68f061 vendor latest c/common from main
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-01-07 13:35:43 +01:00
renovate[bot]
17a9408c0d fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 12:19:04 +00:00
openshift-merge-bot[bot]
52b8f6e369 Merge pull request #24952 from containers/renovate/github.com-opencontainers-runc-1.x
fix(deps): update module github.com/opencontainers/runc to v1.2.4
2025-01-07 12:17:33 +00:00
renovate[bot]
481c608fd4 fix(deps): update module github.com/opencontainers/runc to v1.2.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 11:02:05 +00:00
openshift-merge-bot[bot]
4f575a1d23 Merge pull request #24945 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.36.2
2025-01-07 11:00:37 +00:00
Giuseppe Scrivano
1e0f03b046 specgen: fix comment
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-01-07 11:33:35 +01:00
openshift-merge-bot[bot]
b4ef95590b Merge pull request #24868 from rhatdan/kube
Kube volumes can not contain _
2025-01-07 01:23:05 +00:00
jmozmoz
7a51916e3b Add hint to restart Podman machine to really accept new certificates
Signed-off-by: jmozmoz <joachim.herb@gmx.de>
2025-01-07 00:07:18 +01:00
openshift-merge-bot[bot]
e79686ee12 Merge pull request #24675 from gtjoseph/main-pass-hostname-to-netavark
Pass container hostname to netavark
2025-01-06 17:20:07 +00:00
renovate[bot]
a445ebde9d fix(deps): update module github.com/onsi/gomega to v1.36.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:59:51 +00:00
openshift-merge-bot[bot]
04bc545cb9 Merge pull request #24944 from containers/renovate/github.com-moby-term-0.x
fix(deps): update module github.com/moby/term to v0.5.2
2025-01-06 16:58:06 +00:00
openshift-merge-bot[bot]
5550e1fd83 Merge pull request #24935 from swestersund/patch-1
Fix slirp4netns typo in podman-network.1.md
2025-01-06 16:12:47 +00:00
openshift-merge-bot[bot]
7786378e06 Merge pull request #24899 from Odilhao/pod-shm-size-issue
Add support to ShmSize in Pods with Quadlet
2025-01-06 16:09:49 +00:00
renovate[bot]
2aff249156 fix(deps): update module github.com/moby/term to v0.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 14:47:04 +00:00
openshift-merge-bot[bot]
d12f9d5e89 Merge pull request #24866 from containers/renovate/github.com-docker-docker-27.x
fix(deps): update module github.com/docker/docker to v27.4.1+incompatible
2025-01-06 14:44:32 +00:00
George Joseph
6fa234a5de Pass container hostname to netavark
Passing the hostname allows netavark to include it in DHCP lease
requests which, in an environment where DDNS is used, can cause
DNS entries to be created automatically.

* The current Hostname() function in container.go was updated to
check the new `container_name_as_hostname` option in the
CONTAINERS table of containers.conf.  If set and no hostname
was configured for the container, it causes the hostname to be
set to a version of the container's name with the characters not
valid for a hostname removed.  If not set (the default), the original
behavior of setting the hostname to the short container ID is
preserved.

* Because the Hostname() function can return the host's hostname
if the container isn't running in a private UTS namespace, and we'd
NEVER want to send _that_ in a DHCP request for a container, a new
function NetworkHostname() was added which functions like Hostname()
except that it will return an empty string instead of the host's
hostname if the container is not running in a private UTS namespace.

* networking_common.getNetworkOptions() now uses NetworkHostname()
to set the ContainerHostname member of the NetworkOptions structure.
That member was added to the structure in a corresponding commit in
common/libnetwork/types/network.go.

* Added test to containers_conf_test.go

Signed-off-by: George Joseph <g.devel@wxy78.net>
2025-01-06 07:09:12 -07:00
openshift-merge-bot[bot]
4d5e518baf Merge pull request #24897 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.1
2025-01-06 11:33:12 +00:00
Simon Westersund
53e5e402aa Fix slirp4netns typo in podman-network.1.md
Signed-off-by: Simon Westersund <swestersund@users.noreply.github.com>
2025-01-04 20:04:59 +02:00
Odilon Sousa
d1a3f96cbf Add support to ShmSize in Pods with Quadlet
This closes #22915

Signed-off-by: Odilon Sousa <osousa@redhat.com>
2024-12-30 12:33:00 -03:00
openshift-merge-bot[bot]
d3cd5098f0 Merge pull request #24784 from containers/renovate/github.com-cyphar-filepath-securejoin-0.x
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.3.6
2024-12-23 15:45:18 +00:00
renovate[bot]
de829251fc fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 15:02:22 +00:00