From 4b0ac1e846acc0eafc0b5e66323d7a1b098bc5ee Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Thu, 6 Jun 2024 15:42:51 -0300 Subject: [PATCH] Fixing docker run command for systemd --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 073c225..77fc2b1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To run the systemd-based version, follow these steps: Docker version required >= 20.0.0 ```bash docker pull perfsonar/testpoint:systemd -docker run -d --name perfsonar-testpoint --net=host --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v ./compose/psconfig:/etc/perfsonar/psconfig --cgroupns host perfsonar/testpoint:systemd +docker run -td --name perfsonar-testpoint --net=host --tmpfs /run --tmpfs /run/lock --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v ./compose/psconfig:/etc/perfsonar/psconfig --cgroupns host perfsonar/testpoint:systemd ``` Or, build and run it using [docker compose](https://docs.docker.com/compose/) >= 2.16.0: