Skip to content

Docker I am encountering the error [Errno -2] Name or service not known #353

Closed Answered by frankie567
mneriklick asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure it comes from there but the --host option doesn't support the port. The correct syntax is --host 0.0.0.0 (which is actually the default). To specify the port, all you need is to set the PORT environment variable.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mneriklick
Comment options

Answer selected by mneriklick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants