mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #8743 from dmyerscough/fix-example-snippet
Documentation/op-guide: Fix missing docker volume commands and specify the initial DATA_DIR
This commit is contained in:
commit
6277828f13
@ -76,6 +76,13 @@ Use the host IP address when configuring etcd:
|
|||||||
export NODE1=192.168.1.21
|
export NODE1=192.168.1.21
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Configure a Docker volume to store etcd data:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker volume create --name etcd-data
|
||||||
|
export DATA_DIR="etcd-data"
|
||||||
|
```
|
||||||
|
|
||||||
Run the latest version of etcd:
|
Run the latest version of etcd:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user