Skip to content

Commit

Permalink
removed /bin/sh
Browse files Browse the repository at this point in the history
removed ETCDCTL_API also

fixed v3.5 and v3.4

Signed-off-by: Nick Mancari <[email protected]>
  • Loading branch information
Nick Mancari committed Jan 24, 2023
1 parent 18863cb commit 1be83b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/v3.4/op-guide/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ docker run \
To run `etcdctl` using API version 3:

```
docker exec etcd /bin/sh -c "export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar"
docker exec etcd /usr/local/bin/etcdctl put foo bar
```

## Bare Metal
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.5/op-guide/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ docker run \
To run `etcdctl` using API version 3:

```
docker exec etcd /bin/sh -c "export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar"
docker exec etcd /usr/local/bin/etcdctl put foo bar
```

## Bare Metal
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.6/op-guide/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ docker run \
To run `etcdctl` using API version 3:

```
docker exec etcd /bin/sh -c "export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar"
docker exec etcd /usr/local/bin/etcdctl put foo bar
```

## Bare Metal
Expand Down

0 comments on commit 1be83b2

Please sign in to comment.