clojure - Failed to find a usable hardware address from the network interfaces -
i'm getting following warning when running aleph (which uses netty) websever inside docker container:
warning: failed find usable hardware address network interfaces; using random bytes: 75:62:7f:9b:c6:52:63:4b
i'm starting server using:
(defn -main [& args] (http/start-server app {:port 3000}))
and i've tried:
(defn -main [& args] (http/start-server app {:socket-address (java.net.inetsocketaddress. "0.0.0.0" 3000)}))
but still same warning.
the warning only happens inside docker container. can run server in host without warning. won't warning if when run container use docker run --net host webserver
.
the weird thing is, despite warning looks running fine. correct ports bound , server running correctly. have idea why warning?
Comments
Post a Comment