Created
January 26, 2022 12:58
-
-
Save robertgzr/d566e4e2ead9273a404c7dd3a8cd6cf3 to your computer and use it in GitHub Desktop.
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
root@Bridge2010038041:~# balena network inspect 1835016_bridge_gateway | |
[ | |
{ | |
"Name": "1835016_bridge_gateway", | |
"Id": "18b24e30360d5d6e9c34eee6717d5a176dfc3d7fc1e2ec8edc81ca0e5f1c979f", | |
"Created": "2021-12-16T11:33:52.403689961Z", | |
"Scope": "local", | |
"Driver": "bridge", | |
"EnableIPv6": false, | |
"IPAM": { | |
"Driver": "default", | |
"Options": {}, | |
"Config": [ | |
{ | |
"Subnet": "172.16.238.0/24", | |
"Gateway": "172.16.238.1" | |
} | |
] | |
}, | |
"Internal": false, | |
"Attachable": false, | |
"Ingress": false, | |
"ConfigFrom": { | |
"Network": "" | |
}, | |
"ConfigOnly": false, | |
"Containers": { | |
"0d41c6c780b10995125b117a1357842cb9a816f67c5833b766945f61f523c45d": { | |
"Name": "cloud-connector_4473371_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "d1855afe68e49a0bdf089ff047b41afbb4597a6c46a22dbae9303a3a7835c1a1", | |
"MacAddress": "02:42:ac:10:ee:16", | |
"IPv4Address": "172.16.238.22/24", | |
"IPv6Address": "" | |
}, | |
"222bdb2f7043e93284b9c8e7c88975b1d82a39606ce8af25fe4add68cab1d5b8": { | |
"Name": "chirpstack_4473364_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "fec056aeab202613061b830ce66e1f5df22e7b51b6e667f5eaeff604784a96c4", | |
"MacAddress": "02:42:ac:10:ee:0f", | |
"IPv4Address": "172.16.238.15/24", | |
"IPv6Address": "" | |
}, | |
"43396a0d6df68a6e5ecf78020a9e5aeee2116b473b6526083992b1051bc7b82a": { | |
"Name": "emitter_4473360_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "b3a09dc6415ce51a689ed6ee59a767345a9fa924e8e39bfb18868b49122ed644", | |
"MacAddress": "02:42:ac:10:ee:0b", | |
"IPv4Address": "172.16.238.11/24", | |
"IPv6Address": "" | |
}, | |
"615b4e50044f5482e661b096e60fc5b7c1813c6aa1b2c62b2ba8d324d0bf309e": { | |
"Name": "redis_4473361_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "e6d6079d92e7bee7774f2b678d9ee42cac791467458703ee6c70595eda73b1a5", | |
"MacAddress": "02:42:ac:10:ee:0c", | |
"IPv4Address": "172.16.238.12/24", | |
"IPv6Address": "" | |
}, | |
"7b196189d7bfff64bc98345120477554fe658917ddfb1dd7be81d635686564e0": { | |
"Name": "postgresql_4473363_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "e60cc20a21301dfd944dc42b83dbb6426faed3350fd91f9c34dd9786cfd80c55", | |
"MacAddress": "02:42:ac:10:ee:0e", | |
"IPv4Address": "172.16.238.14/24", | |
"IPv6Address": "" | |
}, | |
"7d4447ebe1d2c2f5129f716cb055c7f237b865061d1a36f94996bbfa180740f2": { | |
"Name": "mosquitto_4473359_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "9c66e8302684d434ad8b95866b3a0ec84148a5e6c07609c1705e5c70de80eba8", | |
"MacAddress": "02:42:ac:10:ee:0a", | |
"IPv4Address": "172.16.238.10/24", | |
"IPv6Address": "" | |
} | |
}, | |
"Options": { | |
"com.docker.network.driver.mtu": "1460" | |
}, | |
"Labels": { | |
"io.balena.supervised": "true" | |
} | |
} | |
] | |
root@Bridge2010038041:~# balena exec -it couchbase-lite-service_4473362_2049118_84e618172d2baa772059114c8e4f0691 sh -c 'wget -O- balena-cloud.com' | |
--2022-01-26 16:54:22-- http://balena-cloud.com/ | |
Resolving balena-cloud.com (balena-cloud.com)... failed: Temporary failure in name resolution. | |
wget: unable to resolve host address 'balena-cloud.com' | |
^C | |
root@Bridge2010038041:~# balena network connect 1835016_bridge_gateway couchbase-lite-service_4473362_2049118_84e618172d2baa772059114c8e4f0691 | |
root@Bridge2010038041:~# balena network inspect 1835016_bridge_gateway | |
[ | |
{ | |
"Name": "1835016_bridge_gateway", | |
"Id": "18b24e30360d5d6e9c34eee6717d5a176dfc3d7fc1e2ec8edc81ca0e5f1c979f", | |
"Created": "2021-12-16T11:33:52.403689961Z", | |
"Scope": "local", | |
"Driver": "bridge", | |
"EnableIPv6": false, | |
"IPAM": { | |
"Driver": "default", | |
"Options": {}, | |
"Config": [ | |
{ | |
"Subnet": "172.16.238.0/24", | |
"Gateway": "172.16.238.1" | |
} | |
] | |
}, | |
"Internal": false, | |
"Attachable": false, | |
"Ingress": false, | |
"ConfigFrom": { | |
"Network": "" | |
}, | |
"ConfigOnly": false, | |
"Containers": { | |
"0d41c6c780b10995125b117a1357842cb9a816f67c5833b766945f61f523c45d": { | |
"Name": "cloud-connector_4473371_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "d1855afe68e49a0bdf089ff047b41afbb4597a6c46a22dbae9303a3a7835c1a1", | |
"MacAddress": "02:42:ac:10:ee:16", | |
"IPv4Address": "172.16.238.22/24", | |
"IPv6Address": "" | |
}, | |
"222bdb2f7043e93284b9c8e7c88975b1d82a39606ce8af25fe4add68cab1d5b8": { | |
"Name": "chirpstack_4473364_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "fec056aeab202613061b830ce66e1f5df22e7b51b6e667f5eaeff604784a96c4", | |
"MacAddress": "02:42:ac:10:ee:0f", | |
"IPv4Address": "172.16.238.15/24", | |
"IPv6Address": "" | |
}, | |
"43396a0d6df68a6e5ecf78020a9e5aeee2116b473b6526083992b1051bc7b82a": { | |
"Name": "emitter_4473360_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "b3a09dc6415ce51a689ed6ee59a767345a9fa924e8e39bfb18868b49122ed644", | |
"MacAddress": "02:42:ac:10:ee:0b", | |
"IPv4Address": "172.16.238.11/24", | |
"IPv6Address": "" | |
}, | |
"615b4e50044f5482e661b096e60fc5b7c1813c6aa1b2c62b2ba8d324d0bf309e": { | |
"Name": "redis_4473361_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "e6d6079d92e7bee7774f2b678d9ee42cac791467458703ee6c70595eda73b1a5", | |
"MacAddress": "02:42:ac:10:ee:0c", | |
"IPv4Address": "172.16.238.12/24", | |
"IPv6Address": "" | |
}, | |
"7b196189d7bfff64bc98345120477554fe658917ddfb1dd7be81d635686564e0": { | |
"Name": "postgresql_4473363_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "e60cc20a21301dfd944dc42b83dbb6426faed3350fd91f9c34dd9786cfd80c55", | |
"MacAddress": "02:42:ac:10:ee:0e", | |
"IPv4Address": "172.16.238.14/24", | |
"IPv6Address": "" | |
}, | |
"7d4447ebe1d2c2f5129f716cb055c7f237b865061d1a36f94996bbfa180740f2": { | |
"Name": "mosquitto_4473359_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "9c66e8302684d434ad8b95866b3a0ec84148a5e6c07609c1705e5c70de80eba8", | |
"MacAddress": "02:42:ac:10:ee:0a", | |
"IPv4Address": "172.16.238.10/24", | |
"IPv6Address": "" | |
}, | |
"fbd0e2aa0fd12792ee7db62882202042fc0797c8ff0f41f25abab7cc6c9a3c86": { | |
"Name": "couchbase-lite-service_4473362_2049118_84e618172d2baa772059114c8e4f0691", | |
"EndpointID": "d16bde1c017c5b73842859da702bc2512444b03ea651b29e1dee5e5d9b286025", | |
"MacAddress": "02:42:ac:10:ee:02", | |
"IPv4Address": "172.16.238.2/24", | |
"IPv6Address": "" | |
} | |
}, | |
"Options": { | |
"com.docker.network.driver.mtu": "1460" | |
}, | |
"Labels": { | |
"io.balena.supervised": "true" | |
} | |
} | |
] | |
root@Bridge2010038041:~# balena exec -it couchbase-lite-service_4473362_2049118_84e618172d2baa772059114c8e4f0691 sh -c 'wget -O- balena-cloud.com' | |
--2022-01-26 16:55:41-- http://balena-cloud.com/ | |
Resolving balena-cloud.com (balena-cloud.com)... 54.211.114.166, 54.205.240.192, 2a05:d014:275:cb01:8909:43f0:2069:7b77, ... | |
Connecting to balena-cloud.com (balena-cloud.com)|54.211.114.166|:80... connected. | |
HTTP request sent, awaiting response... 301 Moved Permanently | |
Location: https://balena-cloud.com/ [following] | |
--2022-01-26 16:55:42-- https://balena-cloud.com/ | |
Connecting to balena-cloud.com (balena-cloud.com)|54.211.114.166|:443... connected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment