mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 20:48:11 +00:00
Reorganize and edit installation docs
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<div>
|
||||
<p>Rancher uses <code>etcd</code> as datastore. When using the Single Node Install, the embedded <code>etcd</code> is being used. The persistent data is at the following path in the container: <code>/var/lib/rancher</code>. 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 <a href="/docs/os/v1.x/en/installation/system-services/system-docker-volumes/#user-volumes">persistent storage directories</a> you can use to store the data.</p>
|
||||
<p>Rancher uses <code>etcd</code> as datastore. When using the Single Node Install, the embedded <code>etcd</code> is
|
||||
being used. The persistent data is at the following path in the container: <code>/var/lib/rancher</code>. 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 <a
|
||||
href="/docs/os/v1.x/en/installation/system-services/system-docker-volumes/#user-volumes">persistent storage
|
||||
directories</a> you can use to store the data.</p>
|
||||
|
||||
<h5>Command:</h5>
|
||||
<p>Command:</p>
|
||||
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
docker run -d --restart=unless-stopped \
|
||||
-p 80:80 -p 443:443 \
|
||||
-v /opt/rancher:/var/lib/rancher \
|
||||
|
||||
Reference in New Issue
Block a user