Commit Graph

11 Commits

Author SHA1 Message Date
Swagat Bora 1ac8bb4708 Enable setting DNS options through global nerdctl config
Signed-off-by: Swagat Bora <sbora@amazon.com>
2025-07-02 16:48:02 +00:00
Shubharanshu Mahapatra 38d67f09b4 feat: add support for userns
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
2025-05-06 20:40:38 -07:00
Evan Lezar 71c646f147 Add support for CDI devices to device flag
This change adds support for specifying fully-qualified CDI device
names in the --device flag. This allows the Container Device Interface
(CDI) to be used to inject devices into container being run.

Signed-off-by: Evan Lezar <elezar@nvidia.com>

Enable cdi feature for Docker

Signed-off-by: Evan Lezar <elezar@nvidia.com>

Update go mod

Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Jin Dong <djdongjin95@gmail.com>

use containerd cdi.WithCDIDevices

Signed-off-by: Jin Dong <djdongjin95@gmail.com>
2025-05-01 10:17:37 -04:00
apostasie 44b8b584da
Fix kube-hide-dupe docs typo
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
2025-02-26 08:23:20 -08:00
fengwei0328 eaa8df0b50 Fix duplicate image entries in k8s.io namespaces
The same imageId underk8s.io is showing multiple results: repo:tag, repo:digest, configID.
We expect to display only repo:tag, consistent with other namespaces and CRI.
		e.g.
		nerdctl -n k8s.io images
		REPOSITORY    TAG       IMAGE ID        CREATED        PLATFORM       SIZE         BLOB SIZE
		centos        7         be65f488b776    3 hours ago    linux/amd64    211.5 MiB    72.6 MiB
		centos        <none>    be65f488b776    3 hours ago    linux/amd64    211.5 MiB    72.6 MiB
		<none>        <none>    be65f488b776    3 hours ago    linux/amd64    211.5 MiB    72.6 MiB

		expect:
		nerdctl --kube-hide-dupe -n k8s.io images
		REPOSITORY    TAG       IMAGE ID        CREATED        PLATFORM       SIZE         BLOB SIZE
		centos        7         be65f488b776    3 hours ago    linux/amd64    211.5 MiB    72.6 MiB
Of course, even after deduplicating the images displayed, there are still issues with deleting the images.
It is necessary to distinguish between repo:tag and configId, as well as repoDigest. Considering the situation with tags,
we need to ensure that all repo:tags under the same imageId are cleaned up before proceeding to clean up the configId and repoDigest.

see: https://github.com/containerd/nerdctl/issues/3702

Signed-off-by: fengwei0328 <feng.wei8@zte.com.cn>
2024-12-24 17:13:00 +08:00
Akihiro Suda 4a21ba7dbc
docs: the next release will be v2.0.1, not v2.1.0
ref: issue 3709

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-12-02 19:10:14 +09:00
Swagat Bora 7d116bf1fd feat: configure custom IP for default bridge network
Signed-off-by: Swagat Bora <swagatbora90@gmail.com>
2024-11-07 20:54:03 +00:00
Ziwen Ning a30e7655da
feat: resolve special ip host-gateway
Signed-off-by: Ziwen Ning <ningziwe@amazon.com>
2023-02-24 10:13:49 -08:00
fatelei fb575396a6 feat: add an experimental config in toml
Using experimental config control enable or disable experimental feature.

Signed-off-by: wanglei <fatelei@gmail.com>
2022-08-22 22:28:27 +08:00
Akihiro Suda cefc5d4725
Support `/etc/containerd/certs.d/<HOST:PORT>/hosts.toml`
See `docs/registry.md`

Fix issue 639

`nerdctl login` still ignore the hosts dir.
Fixed in the next commit.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-01-07 14:21:13 +09:00
Akihiro Suda 682842c14c
Support loading `nerdctl.toml`
See `docs/config.md`

Replace PR 470

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-12-20 15:08:09 +09:00