Kay Yan
af25fd4069
add white image
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2024-10-24 09:56:14 +00:00
apostasie
a74f0f3024
Testtool initial documentation
...
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
2024-09-22 11:47:10 -07:00
apostasie
4c0c5a6040
Move testing.md to docs/dev
...
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
2024-09-04 00:16:08 -07:00
Akihiro Suda
64fb5abd57
Merge pull request #3174 from AkihiroSuda/logo
...
Add logo
2024-07-06 08:25:24 +09:00
apostasie
5267e4ef5d
Separate and expand information for newcomers on testing
...
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
2024-07-04 22:03:25 -07:00
Akihiro Suda
e32d75c4d8
Add logo
...
Fix issue 1542
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-07-04 18:12:17 +09:00
apostasie
4d4fd5fb13
State how to run a single integration test
...
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
2024-05-29 20:20:33 -07:00
Akihiro Suda
f42ab2ff7f
Implement `nerdctl run --annotation` (introduced in Docker v24)
...
An OCI runtime (as well as `nerdctl internal oci-hook`) may consume an
annotation and behave differently.
e.g., https://github.com/opencontainers/runc/blob/v1.1.12/docs/systemd.md#auxiliary-properties
nerdctl v1:
- `nerdctl run --annotation` was not implemented.
- `nerdctl run --label` is set as a containerd label and an OCI annotation.
nerdctl v2:
- `nerdctl run --annotation` is only set as an OCI annotation.
- `nerdctl run --label` is only set as a containerd label.
A label with the `nerdctl/` prefix can no longer be set manually,
with an exception for `nerdctl/bypass4netns`.
The `nerdctl/bypass4netns` label is still allowed and is propagated to
an OCI annotation, for sake of compatibility.
Docker v23:
- `docker run --annotation` was not implemented.
- `docker run --label` is only set as a Docker label.
Docker v24 (implemented in docker/cli PR 4156, moby/moby PR 45025):
- `docker run --annotation` is only set as an OCI annotation.
- `docker run --label` is only set as a Docker label.
(In a nutshell, `--annotation` may change the behavior, while `--label` should not.)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-31 21:14:34 +09:00
Akihiro Suda
1b05ff3ec7
Remove the support for the old CNI isolation plugin
...
The old [CNI isolation plugin](https://github.com/AkihiroSuda/cni-isolation ) has been deprecated
since nerdctl v0.18 (Mar 25, 2022), in favor of the CNI firewall plugin v1.1.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-02-14 18:17:11 +09:00
Spencer von der Ohe
741d06e567
Add support to run systemd in containers
...
(with --systemd flag)
Signed-off-by: Spencer von der Ohe <s.vonderohe40@gmail.com>
2024-02-03 23:30:09 -07:00
Akihiro Suda
4892364cba
[Carry 2535] rootless: support detach-netns mode
...
When RootlessKit v2.0 (rootless-containers/rootlesskit PR 379) is
installed, `containerd-rootless.sh` launches it with `--detach-netns`
so as to run the daemon in the host network namespace.
This will enable:
- Accelerated (and deflaked) `nerdctl pull`, `nerdctl push`, `nerdctl build`, etc
- Proper support for `nerdctl pull 127.0.0.1:.../...`
- Proper support for `nerdctl run --net=host`
Replaces Fahed Dorgaa's PR 2535
Co-authored-by: fahed dorgaa <fahed.dorgaa@gmail.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-31 14:43:52 +09:00
Akihiro Suda
4af27bd19f
go.mod: module github.com/containerd/nerdctl/v2
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-12 15:49:23 +09:00
Kay Yan
d767662839
docs: read-only (RRO) bind-mount have been support by docker
...
Co-authored-by: Akihiro Suda <suda.kyoto@gmail.com>
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2023-11-20 10:15:10 +00:00
Ziwen Ning
42cfd14468
docs: add SOCI snapshotter guideline in README.md
...
Co-Authored-By: Zheao Li <me@manjusaka.me>
Signed-off-by: Ziwen Ning <ningziwe@amazon.com>
2023-09-18 18:44:20 -07:00
Akihiro Suda
57165af79f
update Go (1.20)
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-02-17 23:15:13 +09:00
Akihiro Suda
efa2c28812
Mark `cri` log viewer as experimental
...
Follow-up to PR 1847
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-01-31 00:27:49 +09:00
Jin Dong
a108460715
Move command reference to a separate doc
...
Fix README lint warnings
Signed-off-by: Jin Dong <jindon@amazon.com>
2023-01-19 04:14:16 +00:00
Akihiro Suda
9671b77825
Merge pull request #1823 from AkihiroSuda/buildkit-0.11
...
update BuildKit (0.11.0) ; nerdctl system prune: drop Go dependency on BuildKit
2023-01-13 15:33:10 +09:00
Akihiro Suda
0d8e0bd6a3
Merge pull request #795 from jsturtevant/hostprocess-containers
...
Add Windows Hostprocess flag
2023-01-13 13:32:32 +09:00
Akihiro Suda
23af1bb814
nerdctl system prune: drop Go dependency on BuildKit
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-01-13 12:12:45 +09:00
Austin Vazquez
907fb6133a
Fix rename command readme
...
Fix reference to specify nerdctl instead of docker in readme for
rename command.
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2023-01-12 23:37:33 +00:00
James Sturtevant
391bb6ab85
Add ability to run Hostprocess containers
...
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2023-01-11 19:33:42 -08:00
Kohei Tokunaga
bf00c2abb3
ipfs: allow configuring ipfs daemon address
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2023-01-10 16:32:33 +09:00
Akihiro Suda
3f3eb4dc85
Merge pull request #1782 from dcantah/cgroup-parent
...
run: Add cgroup-parent flag
2023-01-01 23:02:42 +09:00
Danny Canter
e5b76f4ce5
run: Add cgroup-parent flag
...
Adds a test case and the functionality for cgroup-parent to match docker runs support.
Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-01-01 02:16:20 -08:00
Siyi Liao
426208f7c4
feat: add `--remove-orphans` flag to `compose down`
...
Signed-off-by: Siyi Liao <stillfox.lee@gmail.com>
2022-12-29 11:40:47 +08:00
Danny Canter
359521eddf
run: Add --uts flag
...
Adds support for specifying the host UTS namespace (the only thing
docker supported), and a small test for this.
Signed-off-by: Danny Canter <danny@dcantah.dev>
2022-12-27 15:34:16 -05:00
ningmingxiao
d210d08cf4
add update restart policy
...
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2022-12-23 22:16:01 +00:00
Kohei Tokunaga
5546d6da27
IPFS: use ipfs binary instead of library
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-12-22 16:08:39 +09:00
Jin Dong
38d03daa7a
Add compose create command
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-20 15:16:19 +00:00
Jin Dong
385e1fd034
Add compose start command
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-15 14:38:12 +00:00
Jin Dong
9271dcd93f
Add compose port
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-09 00:22:35 +00:00
Jin Dong
f0a5c613b9
Add compose top
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-08 14:24:15 +00:00
Akihiro Suda
102bd6c4cc
Merge pull request #1621 from djdongjin/compose-pause
...
Add compose pause and unpause commands
2022-12-08 13:39:49 +09:00
Jin Dong
3442558a2f
Add compose pause and unpause
...
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose pause and unpause test
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-08 00:40:19 +00:00
Hsing-Yu (David) Chen
b66948136a
docs: minimum oom-score-adj for rootless containerd
...
Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
2022-12-07 16:12:53 -08:00
Jin Dong
84ed0d6a9a
Add compose exec command
...
Add compose exec
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose exec test
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-06 02:22:58 +00:00
Akihiro Suda
6632f603c7
Merge pull request #1600 from manugupt1/filter-image-ref
...
Filter images by reference
2022-12-05 21:12:58 +09:00
Manu Gupta
fab8702844
Add filter by image support by reference
...
Signed-off-by: Manu Gupta <manugupt1@gmail.com>
2022-12-04 18:05:50 -08:00
Mihai22125
98054c2cf4
Add the option to remove a network by id
...
Signed-off-by: Mihai Timbota-Belin <mihai.mtb10@gmail.com>
2022-12-03 23:00:27 +02:00
Jin Dong
a5ce077461
Add json format support in compose ps
...
Add compose ps json
Signed-off-by: Jin Dong <jindon@amazon.com>
Refactor formatter and portutil
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose ps json test
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-12-01 14:25:59 +00:00
Zheao.Li
150547f18d
Add an extra validation when remove the network
...
Signed-off-by: Zheao.Li <me@manjusaka.me>
2022-11-30 22:00:06 +08:00
Akihiro Suda
272dc9c29f
Merge pull request #1555 from djdongjin/compose-images
...
Add `compose images` command
2022-11-28 12:46:02 +09:00
Manu Gupta
3c5b0697c2
Add support for filtering images by labels.
...
OCI config labels are separate from containerd image labels.
Adds support for filtering oci config labels just like docker.
Signed-off-by: Manu Gupta <manugupt1@gmail.com>
2022-11-27 17:42:59 -08:00
Jin Dong
f07b3f596b
Add compose images command
...
The command prints images used by created containers in services.
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-11-27 17:12:40 +00:00
Jin Dong
b318c01559
Add compose rm command
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-11-25 18:24:51 +00:00
Jin Dong
fa8caf9483
Add compose restart command
...
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-11-23 15:29:53 +00:00
Jin Dong
9a0621ff20
Add cosign in compose run, up, pull, push
...
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose cosign test
Signed-off-by: Jin Dong <jindon@amazon.com>
Fix naming bug
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose cosign test [pass]
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose experimental flag
Signed-off-by: Jin Dong <jindon@amazon.com>
Refactor cosign func
Signed-off-by: Jin Dong <jindon@amazon.com>
Add compose cosign doc
Signed-off-by: Jin Dong <jindon@amazon.com>
2022-11-16 18:46:41 +00:00
Kohei Tokunaga
c2523f0fb6
Add more flags for image conversion
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-11-15 16:11:37 +09:00
Akihiro Suda
ac1a761d9c
Merge pull request #1492 from Zheaoli/manjusaka/update-docs
...
Add more specific description about restart and stop command
2022-11-11 08:35:52 +09:00