Skip to content

Commit 7ee5949

Browse files
Adds rootless-docker setup steps. (#313)
1 parent f50b704 commit 7ee5949

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

content/guides/spin-up-a-devnet.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,33 @@ This method leverages pre-built Docker images to quickly and easily spin up a lo
2929

3030
1. Ensure that the Docker daemon is running:
3131

32-
{{< tabs items="MacOS, Linux" >}}
32+
{{< tabs items="As root, Rootless" >}}
3333
{{< tab >}}
3434
```shell
35-
sudo systemctl start docker
35+
sudo systemctl status docker
3636
```
3737
{{< /tab >}}
3838

3939
{{< tab >}}
4040
```shell
41-
dockerd
41+
systemctl --user status docker
4242
```
4343
{{< /tab >}}
4444
{{< /tabs >}}
4545

46+
This should output something like:
47+
48+
```plaintext
49+
● docker.service - Docker Application Container Engine (Rootless)
50+
Loaded: loaded (/home/johnny/.config/systemd/user/docker.service; enabled; preset: enable>
51+
Active: active (running) since Mon 2025-01-27 14:04:16 AST; 3min 27s ago
52+
Invocation: b0aea9e287394e268914b54c6177370c
53+
Docs: https://docs.docker.com/go/rootless/
54+
Main PID: 46707 (rootlesskit)
55+
Tasks: 297
56+
Memory: 524.4M (peak: 622.2M)
57+
```
58+
4659
1. Create the following Docker file and call it `four-nodes.yaml`:
4760
4861
```shell

0 commit comments

Comments
 (0)