-
The Environment
ContextI wish to run my iTowns based application within a docker container. As starting point Warning: this difficulty could be independent from iTowns and only related to Steps to Reproduce
The above tends to show that the container is running and listening of Expected BehaviorSending an http request to the dockerized iTowns e.g.
should return some http answer. Actual BehaviorCurl gets no answer that is the command
returns "curl: (52) Empty reply from server" Note: the same request executed inside the container runs properly i.e.
does return an http answer Possible Cause/Fix/SolutionPossible causes:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
have you solved your problem I'm going to inquire @arnaudbirk |
Beta Was this translation helpful? Give feedback.
-
We have solution, thanks @arnaudbirk It's not docker problem, could you try:
|
Beta Was this translation helpful? Give feedback.
-
Yep, thanks @arnaudbirk and @gchoqueux : that does the trick for me ! NoteI took me quite some time to be able to successfully reproduce this solution
and this did NOT work for me. Hence port redirection (repetition or exposure might be better is this case?) is a must Changing the portThis side note might be obvious to knowledgeable docker users. If you additionally wish to use another port than the default 8080, if suffice to
and, after rebuilding the container, run it with
As far as I'm concerned this issue can be closed. |
Beta Was this translation helpful? Give feedback.
We have solution, thanks @arnaudbirk
It's not docker problem, could you try: