From f3192b610dd85e52118aad291496b4820e4869fa Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 16 Mar 2025 13:42:37 +0300 Subject: [PATCH] Fix vitastor-disk in Docker installations --- docker/etc/systemd/system/vitastor-host.service | 2 +- docker/etc/vitastor/docker.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/etc/systemd/system/vitastor-host.service b/docker/etc/systemd/system/vitastor-host.service index 5ee4c049..ae78da22 100644 --- a/docker/etc/systemd/system/vitastor-host.service +++ b/docker/etc/systemd/system/vitastor-host.service @@ -8,7 +8,7 @@ PartOf=vitastor.target Restart=always EnvironmentFile=/etc/vitastor/docker.conf ExecStart=bash -c 'docker run --rm -i -v /etc/vitastor:/etc/vitastor -v /dev:/dev -v /run:/run \ - --security-opt seccomp=unconfined --privileged --log-driver none --network host --name vitastor vitastor:$VITASTOR_VERSION \ + --security-opt seccomp=unconfined --privileged --pid=host --log-driver none --network host --name vitastor vitastor:$VITASTOR_VERSION \ sleep.sh' ExecStartPost=udevadm trigger ExecStop=docker stop vitastor diff --git a/docker/etc/vitastor/docker.conf b/docker/etc/vitastor/docker.conf index d27a10e0..6cfc831f 100644 --- a/docker/etc/vitastor/docker.conf +++ b/docker/etc/vitastor/docker.conf @@ -4,7 +4,7 @@ # # Desired Vitastor version -VITASTOR_VERSION=1.11.0 +VITASTOR_VERSION=v1.11.0 # Additional arguments for all containers # For example, you may want to specify a custom logging driver here