Skip to content

Docker Container access #16806

Answered by jmhbnz
monicamillad asked this question in Q&A
Oct 22, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @monicamillad - Thanks for your question.

To minimise attack surface the standard etcd images are based on distroless and do not contain a shell, refer:

FROM --platform=linux/${ARCH} gcr.io/distroless/static-debian12

If you need to interact with etcd you can docker exec to run the etcdctl utility available inside the container. For example:

# Check etcd endpoint status
docker exec <name> etcdctl endpoint status -w table

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@monicamillad
Comment options

Answer selected by monicamillad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment