Explorar o código

Merge pull request #8743 from dmyerscough/fix-example-snippet

Documentation/op-guide: Fix missing docker volume commands and specify the initial DATA_DIR
Gyu-Ho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
6277828f13
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      Documentation/op-guide/container.md

+ 7 - 0
Documentation/op-guide/container.md

@@ -76,6 +76,13 @@ Use the host IP address when configuring etcd:
 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:
 
 ```