Skip to content

Error while running etcd v3 on Docker #18537

Answered by ivanvc
lijie123bes asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lijie123bes, Thanks for opening this issue. This request is more of a support question than a bug, so I'll transfer it to a discussion.

Trying to solve the issue:

  1. First, I noticed you're trying to use etcd v3.0.0. The oldest supported minor version is v3.4; I suggest using the latest version from that minor, v3.4.33 (or v3.5.15).
  2. The docker image doesn't define an entry point, so if you pass arguments, you must specify the command first.

So, this should work (I verified it does, indentation for clarity):

docker run -d -v /usr/share/ca-certificates/:/etc/ssl/certs \
           -p 4001:4001 -p 2380:2380 -p 2379:2379 \
           --name etcd \
           quay.io/coreos/etcd:v3.4.33 \
 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jmhbnz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #18533 on September 04, 2024 04:14.