ERR_EMPTY_RESPONSE from docker container

后端 未结 3 873
轻奢々
轻奢々 2021-02-18 23:41

I\'ve been trying to figure this out in the last hours but I\'m stuck.

I have a very simple Dockerfile which looks like this:

FROM alpine:3.6
COPY gempbo         


        
3条回答
  •  感动是毒
    2021-02-19 00:29

    Adding to the accepted answer: I had the same error message trying to run docker/getting-started.

    The problem was that "getting-started" is using port 80 and this was "occupied" (netsh http show urlacl) on my machine.

    I had to use docker run -d -p 8888:80 docker/getting-started where 8888 was an unused port. And then open "http://localhost:8888/tutorial/".

提交回复
热议问题