mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
moved resusable content to shortcodes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<p>Rancher uses etcd as datastore. When using the Single Node Install, the embedded etcd will be used. The persistent data will be stored in <code>/var/lib/rancher</code> inside the container. You can bind mount a host volume to this location to preserve data on the host it is running on.</p>
|
||||
|
||||
<p><b>Command</b></p>
|
||||
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
docker run -d -p 80:80 -p 443:443 \
|
||||
-v /host/rancher:/var/lib/rancher \
|
||||
rancher/rancher
|
||||
</pre>
|
||||
</div>
|
||||
Reference in New Issue
Block a user