mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
添加环境变量
`No help topic for 'put'·
This commit is contained in:
parent
a43bbd4f44
commit
1fdb8da844
@ -50,10 +50,10 @@ $ etcd
|
||||
此时,可以使用 `etcdctl` 命令进行测试,设置和获取键值 `testkey: "hello world"`,检查 `etcd` 服务是否启动成功:
|
||||
|
||||
```bash
|
||||
$ etcdctl member list
|
||||
$ ETCDCTL_API=3 etcdctl member list
|
||||
8e9e05c52164694d, started, default, http://localhost:2380, http://localhost:2379
|
||||
|
||||
$ etcdctl put testkey "hello world"
|
||||
$ ETCDCTL_API=3 etcdctl put testkey "hello world"
|
||||
OK
|
||||
|
||||
$ etcdctl get testkey
|
||||
|
Loading…
Reference in New Issue
Block a user