We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f65c0 commit ce7706dCopy full SHA for ce7706d
Dockerfile
@@ -16,6 +16,10 @@ EXPOSE 4150 4151 4160 4161 4170 4171
16
RUN mkdir -p /data
17
WORKDIR /data
18
19
+# set up nsswitch.conf for Go's "netgo" implementation
20
+# https://github.com/golang/go/issues/35305
21
+RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
22
+
23
# Optional volumes (explicitly configure with "docker run -v ...")
24
# /data - used by nsqd for persistent storage across restarts
25
# /etc/ssl/certs - for SSL Root CA certificates from host
0 commit comments