You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/EXAMPLES.md
+9-18Lines changed: 9 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -36,23 +36,10 @@ If there is no overlaybd plugin, please checkout [BUILDING](BUILDING.md).
36
36
37
37
The containerd feature [supports target snapshot references on prepare](https://github.com/containerd/containerd/pull/3793) is released by v1.4.x.
38
38
39
-
__[recommend]__ Now we support to start an overlaybd container by [`nerdctl`](https://github.com/containerd/nerdctl)[(#603)](https://github.com/containerd/nerdctl/pull/603).
39
+
__[Recommend]__ Now we support to start an overlaybd container by [`nerdctl`](https://github.com/containerd/nerdctl)[(#603)](https://github.com/containerd/nerdctl/pull/603).
40
40
41
41
```bash
42
-
sudo nerdctl run --rm -it --snapshotter=overlaybd registry.hub.docker.com/overlaybd/redis:6.2.1_obd
43
-
```
44
-
45
-
And we also provide `ctr` subcommand `rpull` as plugin to use feature to support pulling image in on-demand mode.
46
-
47
-
```bash
48
-
# you will see that the rpull doesn't pull layer data.
1:M 03 Mar 2021 04:39:31.808 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
85
72
1:M 03 Mar 2021 04:39:31.810 * Ready to accept connections
86
73
```
87
-
And also, you can use `ctr` to run this image:
88
-
```
74
+
75
+
And also, you can use `ctr` to run this image. However, you should first use the subcommand `rpull`in the customized `bin/ctr` to pull image
76
+
```bash
77
+
# you will see that the rpull doesn't pull layer data.
0 commit comments