Hi,
I am running into the following error message (and subsequent exit) when I run vault container:
"Error initializing listener of type tcp: listen tcp
127.0.0.1:8200: bind: address already in use"
I am pretty sure I do not have any anything on this port, so wondering what I am missing...
Further information:
docker run -d --net=host -v /vault/config:/vault/config --cap-add=IPC_LOCK vault server -config=/vault/config/vault.conf.hcl
$ docker logs 7c3c70901c1b
Vault v0.6.4 ('f4adc7fa960ed8e828f94bc6785bcdbae8d1b263')
Error initializing listener of type tcp: listen tcp
127.0.0.1:8200: bind: address already in use
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7c3c70901c1b vault "docker-entrypoint.sh" 12 seconds ago Exited (1) 12 seconds ago dreamy_meninsky
1176d8b65288 consul "docker-entrypoint.sh" 2 hours ago Up 2 hours consul
$ cat /vault/config/vault.conf.hcl
backend "consul" {
address = "a.x.y.z:8500"
path = "vault"
}
listener "tcp" {
tls_disable = 1
}
$ netstat -antl
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 a.x.y.z:8300 0.0.0.0:* LISTEN
tcp 0 0 a.x.y.z:8301 0.0.0.0:* LISTEN
tcp 0 0 a.x.y.z:8302 0.0.0.0:* LISTEN
tcp 0 0 a.x.y.z:8400 0.0.0.0:* LISTEN
tcp 0 0 a.x.y.z:8500 0.0.0.0:* LISTEN
tcp 0 0 a.x.y.z:8600 0.0.0.0:* LISTEN