Error in docker network
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Here is a link to my relevant configuration
https://github.com/TheGlitchr/acidbox
I'm trying to create a deployable webstack for my own user that's easy to migrate and recreate without data loss while being really secure. So what I am doing is creating a network in docker, where each container is labeled in dns (managed by docker).
I have already tried specifying differing IPs in my caddyfile, the only one that seems to work is my public ip, that is the only way caddy can reach the container (despite being within the same docker subnet)
Specific Error
2018-05-03T15:21:48.050103440Z 03/May/2018:15:21:48 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.103522028Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.351625626Z 03/May/2018:15:21:50 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.841226782Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.030022667Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.320559407Z 03/May/2018:15:21:51 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.453915152Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
By the log above, I can tell the dns is working, because I have the containers listed by their dns name, and here it's shown resolved as the ip, I believe it's a communication error either between docker containers themselves or the way caddy is trying to proxy these services.
networking docker container
add a comment |Â
up vote
0
down vote
favorite
Here is a link to my relevant configuration
https://github.com/TheGlitchr/acidbox
I'm trying to create a deployable webstack for my own user that's easy to migrate and recreate without data loss while being really secure. So what I am doing is creating a network in docker, where each container is labeled in dns (managed by docker).
I have already tried specifying differing IPs in my caddyfile, the only one that seems to work is my public ip, that is the only way caddy can reach the container (despite being within the same docker subnet)
Specific Error
2018-05-03T15:21:48.050103440Z 03/May/2018:15:21:48 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.103522028Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.351625626Z 03/May/2018:15:21:50 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.841226782Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.030022667Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.320559407Z 03/May/2018:15:21:51 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.453915152Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
By the log above, I can tell the dns is working, because I have the containers listed by their dns name, and here it's shown resolved as the ip, I believe it's a communication error either between docker containers themselves or the way caddy is trying to proxy these services.
networking docker container
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here is a link to my relevant configuration
https://github.com/TheGlitchr/acidbox
I'm trying to create a deployable webstack for my own user that's easy to migrate and recreate without data loss while being really secure. So what I am doing is creating a network in docker, where each container is labeled in dns (managed by docker).
I have already tried specifying differing IPs in my caddyfile, the only one that seems to work is my public ip, that is the only way caddy can reach the container (despite being within the same docker subnet)
Specific Error
2018-05-03T15:21:48.050103440Z 03/May/2018:15:21:48 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.103522028Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.351625626Z 03/May/2018:15:21:50 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.841226782Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.030022667Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.320559407Z 03/May/2018:15:21:51 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.453915152Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
By the log above, I can tell the dns is working, because I have the containers listed by their dns name, and here it's shown resolved as the ip, I believe it's a communication error either between docker containers themselves or the way caddy is trying to proxy these services.
networking docker container
Here is a link to my relevant configuration
https://github.com/TheGlitchr/acidbox
I'm trying to create a deployable webstack for my own user that's easy to migrate and recreate without data loss while being really secure. So what I am doing is creating a network in docker, where each container is labeled in dns (managed by docker).
I have already tried specifying differing IPs in my caddyfile, the only one that seems to work is my public ip, that is the only way caddy can reach the container (despite being within the same docker subnet)
Specific Error
2018-05-03T15:21:48.050103440Z 03/May/2018:15:21:48 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.103522028Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.351625626Z 03/May/2018:15:21:50 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:50.841226782Z 03/May/2018:15:21:50 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.030022667Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.320559407Z 03/May/2018:15:21:51 +0000 [ERROR 502 /] dial tcp 172.18.0.8:8080: connect: connection refused
2018-05-03T15:21:51.453915152Z 03/May/2018:15:21:51 +0000 [ERROR 502 /index.php] dial tcp 172.18.0.8:8080: connect: connection refused
By the log above, I can tell the dns is working, because I have the containers listed by their dns name, and here it's shown resolved as the ip, I believe it's a communication error either between docker containers themselves or the way caddy is trying to proxy these services.
networking docker container
edited May 3 at 17:46
vfbsilva
2,54211225
2,54211225
asked May 3 at 17:44
Cameron Bosshard
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441622%2ferror-in-docker-network%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password