hausgold/neo4j!mDNS enabled official/neo4j

You just need to run it like that, to get a working neo4j database:
bash$ docker run --rm hausgold/neo4j
The port 7474 is proxied by haproxy to port 80 to make neo4j.local directly accessible. The port 7474 is untouched.
yamlservices: neo4j: image: hausgold/neo4j environment: # Mind the .local suffix MDNS_HOSTNAME: neo4j.test.local # We allow to start an SSH server inside the container to enable the # programmatically access to neo4j tooling. This is disabled by default. SSHD_ENABLE: 'false' SSHD_ROOT_PASSWORD: root SSHD_CUSTOM_CONIFG: 'false'
Install the nss-mdns package, enable and start the avahi-daemon.service. Then, edit the file /etc/nsswitch.conf and change the hosts line like this:
bashhosts: ... mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns ...
The magic environment variable is MDNS_HOSTNAME. Just pass it like that to your docker run command:
bash$ docker run --rm -e MDNS_HOSTNAME=something.else.local hausgold/neo4j
This will result in something.else.local.
You can also configure multiple aliases (CNAME's) for your container by passing the MDNS_CNAMES environment variable. It will register all the comma separated domains as aliases for the container, next to the regular mDNS hostname.
bash$ docker run --rm \ -e MDNS_HOSTNAME=something.else.local \ -e MDNS_CNAMES=nothing.else.local,special.local \ hausgold/neo4j
This will result in something.else.local, nothing.else.local and special.local.
By default .local is the default mDNS top level domain. This images does not force you to use it. But if you do not use the default .local top level domain, you need to configure your host avahi to accept it.


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务