Skip to content

Commit

Permalink
Adds rootless-docker setup steps. (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymatthews authored Jan 27, 2025
1 parent f50b704 commit 7ee5949
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions content/guides/spin-up-a-devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,33 @@ This method leverages pre-built Docker images to quickly and easily spin up a lo

1. Ensure that the Docker daemon is running:

{{< tabs items="MacOS, Linux" >}}
{{< tabs items="As root, Rootless" >}}
{{< tab >}}
```shell
sudo systemctl start docker
sudo systemctl status docker
```
{{< /tab >}}

{{< tab >}}
```shell
dockerd
systemctl --user status docker
```
{{< /tab >}}
{{< /tabs >}}

This should output something like:

```plaintext
● docker.service - Docker Application Container Engine (Rootless)
Loaded: loaded (/home/johnny/.config/systemd/user/docker.service; enabled; preset: enable>
Active: active (running) since Mon 2025-01-27 14:04:16 AST; 3min 27s ago
Invocation: b0aea9e287394e268914b54c6177370c
Docs: https://docs.docker.com/go/rootless/
Main PID: 46707 (rootlesskit)
Tasks: 297
Memory: 524.4M (peak: 622.2M)
```
1. Create the following Docker file and call it `four-nodes.yaml`:
```shell
Expand Down

0 comments on commit 7ee5949

Please sign in to comment.