Skip to content

Commit 5f47c24

Browse files
committed
rootless: update for v20.10.6
- btrfs is now supported (moby/moby PR 42253) - CLI context "rootless" is now created by default (moby/moby PR 42109) Signed-off-by: Akihiro Suda <[email protected]>
1 parent 31a78af commit 5f47c24

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

engine/security/rootless.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ testuser:231072:65536
116116
- Only the following storage drivers are supported:
117117
- `overlay2` (only if running with kernel 5.11 or later, or Ubuntu-flavored kernel, or Debian-flavored kernel)
118118
- `fuse-overlayfs` (only if running with kernel 4.18 or later, and `fuse-overlayfs` is installed)
119+
- `btrfs` (only if running with kernel 4.18 or later, or `~/.local/share/docker` is mounted with `user_subvol_rm_allowed` mount option)
119120
- `vfs`
120121
- Cgroup is supported only when running with cgroup v2 and systemd. See [Limiting resources](#limiting-resources).
121122
- Following features are not supported:
@@ -268,7 +269,7 @@ Remarks about directory paths:
268269

269270
### Client
270271

271-
You need to specify the socket path explicitly.
272+
You need to specify either the socket path or the CLI context explicitly.
272273

273274
To specify the socket path using `$DOCKER_HOST`:
274275

@@ -277,12 +278,9 @@ $ export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
277278
$ docker run -d -p 8080:80 nginx
278279
```
279280

280-
To specify the socket path using `docker context`:
281+
To specify the CLI context using `docker context`:
281282

282283
```console
283-
$ docker context create rootless --description "for rootless mode" --docker "host=unix://$XDG_RUNTIME_DIR/docker.sock"
284-
rootless
285-
Successfully created context "rootless"
286284
$ docker context use rootless
287285
rootless
288286
Current context is now "rootless"

0 commit comments

Comments
 (0)