From 9829b3dc9150571af555676cd3829261c35894ab Mon Sep 17 00:00:00 2001 From: psyrtsov Date: Fri, 8 Sep 2023 06:54:01 -0700 Subject: [PATCH] make container restart on reboot instead of disaappearing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80ef4d41..ad2fb60e 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ On Windows you need to install WSL 2 first, [one guide to do this](https://docs. Run docker container with following command: ```commandline -docker run -d --rm -p 8008:8008 -v perm-storage:/perm_storage --gpus all smallcloud/refact_self_hosting +run -d -p 8008:8008 -v perm-storage:/perm_storage --gpus all --restart=unless-stopped smallcloud/refact_self_hosting ``` `perm-storage` is a volume that is mounted inside the container. All the configuration files,