New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem - error 404 #15
Comments
The problem with your last command is your Start DNS Service:
Start a web service container:
Ping the "payserver1" container from inside Docker, using "dns" container as the resolver:
Make an HTTP request to the "payserver1" container from outside of Docker. This requires your DNS queries be sent to the "dns" container, which can be done with To demonstrate I built the latest version of curl and got a successful result:
|
Hi,
I execute the following commands:
docker run -d -p 80:80 -v /var/run/docker.sock:/docker.sock --name dns \
curl -X PUT -H 'Content-Type: application/json' \
docker run -it --name payserver1 payserver
docker logs dns
2019-01-30T15:54:19.784346 [dnsrest] added payserver1.mps.portalmenew.com.br. -> 172.17.0.3 key=name:/payserver1
curl -I payserver1.mps.portalmenew.com.br
HTTP/1.1 404 Not Found
content-type: application/json; charset=UTF-8
Date: Wed, 30 Jan 2019 16:00:56 GMT
Content-Length: 0
Ps... In this payserver1 I have Apache
But it does not work.
Can you help me?!
thank you!
The text was updated successfully, but these errors were encountered: