Welcome to the new Linux Foundation Forum!
Lab 3 "No help topic for '/bin/sh'"
On page 3 of lab 3, it says.
"To test that, you have a working setup, use etcdctl in the etcd container, and list the what is the
/registry directory:
$ docker exec -ti k8s etcdctl /bin/sh"
When I do that, I get this message:
"No help topic for '/bin/sh'"
Thanks for any help.
0
Comments
Got the exact same thing on my end
The command should be: docker exec -ti k8s /bin/sh. See I have omitted "etcdctl" part, with this command you will have interactive (-it flags) shell access to the etcd container.
$ docker exec -ti k8s etcdctl /bin/sh
No help topic for '/bin/sh'
Yeah, you are right, I am also struggling for 2 days. Wasted my time removing and running the container images so many times. And when googled online some people say: there is no directory in etcd v3. Ahh, so irritating.
ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 get / --prefix --keys-only