Last active
February 25, 2016 18:27
-
-
Save narqo/0bb824eb776ae48ebed2 to your computer and use it in GitHub Desktop.
This gist is for this https://github.com/docker/docker/issues/20335 issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker version | |
docker version | |
Client: | |
Version: 1.10.2 | |
API version: 1.22 | |
Go version: go1.5.3 | |
Git commit: c3959b1 | |
Built: Mon Feb 22 21:37:01 2016 | |
OS/Arch: linux/amd64 | |
Server: | |
Version: 1.10.2 | |
API version: 1.22 | |
Go version: go1.5.3 | |
Git commit: c3959b1 | |
Built: Mon Feb 22 21:37:01 2016 | |
OS/Arch: linux/amd64 | |
# cat /etc/default/docker | |
DOCKER_OPTS=' | |
-D | |
--log-level=debug | |
-H tcp://0.0.0.0:2376 | |
-H unix:///var/run/docker.sock | |
--storage-driver aufs | |
--tlsverify | |
--tlscacert /etc/docker/ca.pem | |
--tlscert /etc/docker/server.pem | |
--tlskey /etc/docker/server-key.pem | |
--label provider=generic | |
' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
srv1: | |
image: net-test | |
expose: | |
- 8000 | |
command: python -m SimpleHTTPServer | |
working_dir: /var/log | |
srv2: | |
image: net-test | |
expose: | |
- 20443 | |
links: | |
- srv1 | |
command: tail -f /var/log/dpkg.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# resolv.conf inside docker container. | |
root@b388fef4e1a7:/# cat /etc/resolv.conf | |
search haze.yandex.net yandex.net yandex.ru | |
nameserver 127.0.0.11 | |
options ndots:0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBU[0038] Calling GET /v1.22/networks/testdockercompose_default | |
DEBU[0038] GET /v1.22/networks/testdockercompose_default | |
DEBU[0038] Calling GET /v1.22/containers/json | |
DEBU[0038] GET /v1.22/containers/json?all=1&limit=-1&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dtestdockercompose%22%2C+%22com.docker.compose.service%3Dsrv1%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&size=0 | |
DEBU[0038] Calling GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] Calling GET /v1.22/containers/json | |
DEBU[0038] GET /v1.22/containers/json?all=1&limit=-1&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dtestdockercompose%22%2C+%22com.docker.compose.service%3Dsrv2%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&size=0 | |
DEBU[0038] Calling GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] Calling GET /v1.22/containers/json | |
DEBU[0038] GET /v1.22/containers/json?all=1&limit=-1&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dtestdockercompose%22%2C+%22com.docker.compose.service%3Dsrv1%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&size=0 | |
DEBU[0038] Calling GET /v1.22/images/net-test/json | |
DEBU[0038] GET /v1.22/images/net-test/json | |
DEBU[0038] Calling GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] Calling GET /v1.22/containers/json | |
DEBU[0038] GET /v1.22/containers/json?all=1&limit=-1&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dtestdockercompose%22%2C+%22com.docker.compose.service%3Dsrv2%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&size=0 | |
DEBU[0038] Calling GET /v1.22/images/net-test/json | |
DEBU[0038] GET /v1.22/images/net-test/json | |
DEBU[0038] Calling GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] Calling POST /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/attach | |
DEBU[0038] POST /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/attach?stderr=1&logs=0&stream=1&stdout=1 | |
DEBU[0038] attach: stdout: begin | |
DEBU[0038] attach: stderr: begin | |
DEBU[0038] Calling GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] Calling POST /v1.22/networks/testdockercompose_default/disconnect | |
DEBU[0038] POST /v1.22/networks/testdockercompose_default/disconnect | |
DEBU[0038] form data: {"container":"3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233"} | |
DEBU[0038] Calling POST /v1.22/networks/testdockercompose_default/connect | |
DEBU[0038] POST /v1.22/networks/testdockercompose_default/connect | |
DEBU[0038] form data: {"Container":"3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233","EndpointConfig":{"Aliases":["srv1","3d3cfaecbfcd"],"Links":null}} | |
DEBU[0038] Calling POST /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/start | |
DEBU[0038] POST /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/start | |
DEBU[0038] form data: {} | |
DEBU[0038] container mounted via layerStore: /var/lib/docker/aufs/mnt/5f2c89103b1bc4b45009e88eaf2816686de0d49e55c3ada4c36a46640c0ad21a | |
DEBU[0038] Assigning addresses for endpoint testdockercompose_srv1_1's interface on network testdockercompose_default | |
DEBU[0038] RequestAddress(LocalDefault/172.19.0.0/16, <nil>, map[]) | |
DEBU[0038] Assigning addresses for endpoint testdockercompose_srv1_1's interface on network testdockercompose_default | |
INFO[0038] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A OUTPUT -d 127.0.0.11 -p udp --dport 53 -j DNAT --to-destination 127.0.0.11:34348] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A POSTROUTING -s 127.0.0.11 -p udp --sport 34348 -j SNAT --to-source :53] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A OUTPUT -d 127.0.0.11 -p tcp --dport 53 -j DNAT --to-destination 127.0.0.11:39029] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A POSTROUTING -s 127.0.0.11 -p tcp --sport 39029 -j SNAT --to-source :53] | |
DEBU[0038] Calling POST /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/attach | |
DEBU[0038] POST /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/attach?stderr=1&logs=0&stream=1&stdout=1 | |
DEBU[0038] attach: stdout: begin | |
DEBU[0038] attach: stderr: begin | |
DEBU[0038] Calling GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] GET /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/json | |
DEBU[0038] Calling POST /v1.22/networks/testdockercompose_default/disconnect | |
DEBU[0038] POST /v1.22/networks/testdockercompose_default/disconnect | |
DEBU[0038] form data: {"container":"b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736"} | |
DEBU[0038] Calling GET /v1.22/containers/json | |
DEBU[0038] GET /v1.22/containers/json?all=0&limit=-1&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dtestdockercompose%22%2C+%22com.docker.compose.service%3Dsrv1%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&size=0 | |
DEBU[0038] Calling GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] GET /v1.22/containers/3d3cfaecbfcdf9126b7ad999ecc39b254dd41294d8125609c80de659137df233/json | |
DEBU[0038] Calling POST /v1.22/networks/testdockercompose_default/connect | |
DEBU[0038] POST /v1.22/networks/testdockercompose_default/connect | |
DEBU[0038] form data: {"Container":"b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736","EndpointConfig":{"Aliases":["b388fef4e1a7","srv2"],"Links":["testdockercompose_srv1_1:srv1","testdockercompose_srv1_1:srv1_1","testdockercompose_srv1_1:testdockercompose_srv1_1"]}} | |
DEBU[0038] Calling POST /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/start | |
DEBU[0038] POST /v1.22/containers/b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736/start | |
DEBU[0038] form data: {} | |
DEBU[0038] container mounted via layerStore: /var/lib/docker/aufs/mnt/dfb5d9c556205bb854b2d7655292a6be4f578187420e68dfe6ce9a704f877ae5 | |
DEBU[0038] Assigning addresses for endpoint testdockercompose_srv2_1's interface on network testdockercompose_default | |
DEBU[0038] RequestAddress(LocalDefault/172.19.0.0/16, <nil>, map[]) | |
DEBU[0038] Assigning addresses for endpoint testdockercompose_srv2_1's interface on network testdockercompose_default | |
INFO[0038] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A OUTPUT -d 127.0.0.11 -p udp --dport 53 -j DNAT --to-destination 127.0.0.11:32917] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A POSTROUTING -s 127.0.0.11 -p udp --sport 32917 -j SNAT --to-source :53] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A OUTPUT -d 127.0.0.11 -p tcp --dport 53 -j DNAT --to-destination 127.0.0.11:42578] | |
DEBU[0038] /sbin/iptables, [--wait -t nat -A POSTROUTING -s 127.0.0.11 -p tcp --sport 42578 -j SNAT --to-source :53] | |
DEBU[0067] Calling POST /v1.22/containers/testdockercompose_srv2_1/exec | |
DEBU[0067] POST /v1.22/containers/testdockercompose_srv2_1/exec | |
DEBU[0067] form data: {"AttachStderr":true,"AttachStdin":true,"AttachStdout":true,"Cmd":["bash"],"Container":"testdockercompose_srv2_1","Detach":false,"DetachKeys":"","Privileged":false,"Tty":true,"User":""} | |
DEBU[0067] Calling POST /v1.22/exec/f6bdbb689d90f70fc498eeb0848a63027636194be336e8402a8a264152636a48/start | |
DEBU[0067] POST /v1.22/exec/f6bdbb689d90f70fc498eeb0848a63027636194be336e8402a8a264152636a48/start | |
DEBU[0067] form data: {"AttachStderr":true,"AttachStdin":true,"AttachStdout":true,"Cmd":["bash"],"Container":"testdockercompose_srv2_1","Detach":false,"DetachKeys":"","Privileged":false,"Tty":true,"User":""} | |
DEBU[0067] starting exec command f6bdbb689d90f70fc498eeb0848a63027636194be336e8402a8a264152636a48 in container b388fef4e1a7ad639020ce7d16af1a648d31954fa515c654cde67aad7f335736 | |
DEBU[0067] attach: stdin: begin | |
DEBU[0067] attach: stdout: begin | |
DEBU[0067] Calling POST /v1.22/exec/f6bdbb689d90f70fc498eeb0848a63027636194be336e8402a8a264152636a48/resize | |
DEBU[0067] POST /v1.22/exec/f6bdbb689d90f70fc498eeb0848a63027636194be336e8402a8a264152636a48/resize?h=22&w=181 | |
DEBU[0080] To resolve: srv1 in | |
DEBU[0080] Lookup for srv1.: IP 172.19.0.2 | |
DEBU[0080] Querying ext dns udp:8.8.8.8 for srv1.[28] | |
ERRO[0082] external resolution failed, read udp 169.254.6.11:54429->8.8.8.8:53: i/o timeout | |
DEBU[0082] Querying ext dns udp:8.8.4.4 for srv1.[28] | |
ERRO[0084] external resolution failed, read udp 169.254.6.11:45769->8.8.4.4:53: i/o timeout | |
DEBU[0085] To resolve: srv1 in | |
DEBU[0085] Lookup for srv1.: IP 172.19.0.2 | |
DEBU[0085] Querying ext dns udp:8.8.8.8 for srv1.[28] | |
ERRO[0087] external resolution failed, read udp 169.254.6.11:58677->8.8.8.8:53: i/o timeout | |
DEBU[0087] Querying ext dns udp:8.8.4.4 for srv1.[28] | |
ERRO[0089] external resolution failed, read udp 169.254.6.11:42083->8.8.4.4:53: i/o timeout | |
DEBU[0090] To resolve: srv1 in | |
DEBU[0090] Lookup for srv1.: IP 172.19.0.2 | |
DEBU[0090] Querying ext dns udp:8.8.8.8 for srv1.[28] | |
ERRO[0092] external resolution failed, read udp 169.254.6.11:59008->8.8.8.8:53: i/o timeout | |
DEBU[0092] Querying ext dns udp:8.8.4.4 for srv1.[28] | |
ERRO[0094] external resolution failed, read udp 169.254.6.11:56685->8.8.4.4:53: i/o timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment