diff --git a/layouts/shortcodes/persistentdata.html b/layouts/shortcodes/persistentdata.html index 26110d682b4..91d841be675 100644 --- a/layouts/shortcodes/persistentdata.html +++ b/layouts/shortcodes/persistentdata.html @@ -1,12 +1,12 @@
Rancher uses etcd as datastore. When using the Single Node Install, the embedded etcd is being used. The persistent data is at the following path in the container: /var/lib/rancher. You can bind mount a host volume to this location to preserve data on the host it is running on.
Rancher uses etcd as datastore. When using the Single Node Install, the embedded etcd is being used. The persistent data is at the following path in the container: /var/lib/rancher. You can bind mount a host volume to this location to preserve data on the host it is running on. When using RancherOS, please check what persistent storage directories you can use to store the data.
docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ - -v /host/rancher:/var/lib/rancher \ + -v /opt/rancher:/var/lib/rancher \ rancher/rancher:latest