-
Notifications
You must be signed in to change notification settings - Fork 222
HELP: Always said "bind: address already in use" when trying to start up a HA vault cluster in docker compose #109
Comments
It seems the vault would automatically load the hcl configure file in /vault/config dir, so the |
I'm struggling with similar issue, but with very basic config: version: "3" services: vault_1_caeed44482cf | Error initializing listener of type tcp: listen tcp4 0.0.0.0:8200: bind: address already in use Any ideas? |
@zen
Seems default command ( |
Hi @alexeymarunin , Thanks for the answer . it worked for me. vault server is started and running. |
@alexwwang how are you passing the certificate files into the consul and vault containers? i do not see any certs folder in your setup...also where is the vault folder in your repo https://github.com/alexwwang/HA-Vault-Consul-Docker? you mind if you update this repo https://github.com/alexwwang/HA-Vault-Consul-Docker with latest working code? really interested in a working solution for your setup thanks |
Thanks a lot for this post!
and the "-config=/vault/config" has destroyed the startup. |
sorry just notice your request.
Do you still have a problem or solved it?
…On Mon, 21 Oct 2019 at 10:06, encryptblockr ***@***.***> wrote:
@alexwwang <https://github.com/alexwwang> how are you passing the
certificate files? also where is the vault folder in your repo
https://github.com/alexwwang/HA-Vault-Consul-Docker?
i also noticed your last commit removed https but yet the docker-compose
and other files reference using https still
you mind if you update this repo
https://github.com/alexwwang/HA-Vault-Consul-Docker with latest working
code? really interested in a working solution for your setup
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#109?email_source=notifications&email_token=AAGRFKRJFDAEDIPITEU2LE3QPUFA3A5CNFSM4FSSLBGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBY24VA#issuecomment-544321108>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRFKQFTRLTZHNWAPU3KKTQPUFA3ANCNFSM4FSSLBGA>
.
|
It's solved it with the help of this description. Thanks. |
That's fine. Glad to hear that. |
I solved it by removing the listener config from my custom config.hcl |
@alexeymarunin fix worked |
PROBLEM:
I have stuck to this problem for several days. The log showed:
vault.server1 | Error initializing listener of type tcp: listen tcp 0.0.0.0:8200: bind: address already in use
all the time. Even if I modified listener:tcp :address, either the ip address to 127.0.0.1 or the ip of vault server, this error msg always jumped out as long as I up the docker compose.
What I've done:
I am trying to build an HA vault cluster with consul as storage backend according to this instruction: https://www.vaultproject.io/guides/operations/vault-ha-consul.html,
and this one:
https://www.hashicorp.com/resources/hashicorp-vault-administrative-guide
Below is my docker compose yml file:
and below is one of the vault_server.hcl:
The consul part of configuration seems no problem and I've read document again and again to assure no 8200 port occupied in the consul part, where all default ports are used with 8080 as https port.
I will be very very appreciated if anyone could point out what's wrong with my configuration.
Thanks in advance.
The text was updated successfully, but these errors were encountered: