You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,19 @@ Cool thing about namespaces is that you can switch between them. You can enter a
27
27
28
28
***Network's Network Namespace:** If you want to troubleshoot a Docker network, you can enter the network's namespace using `nsenter`. This is explained in the `nsenter` section below.
29
29
30
-
**Kubernetes:** If you want to spin up a throw away container for debugging.
30
+
**Kubernetes**
31
+
32
+
If you want to spin up a throw away container for debugging.
**Network Problems:** Many network issues could result in application performance degradation. Some of those issues could be related to the underlying networking infrastructure(underlay). Others could be related to misconfiguration at the host or Docker level. Let's take a look at common networking issues:
40
+
**Network Problems**
41
+
42
+
Many network issues could result in application performance degradation. Some of those issues could be related to the underlying networking infrastructure(underlay). Others could be related to misconfiguration at the host or Docker level. Let's take a look at common networking issues:
39
43
40
44
* latency
41
45
* routing
@@ -95,7 +99,7 @@ To troubleshoot these issues, `netshoot` includes a set of powerful tools as rec
95
99
util-linux
96
100
vim
97
101
98
-
##**Docker EE 2.0 + Kubernetes Use Cases:**
102
+
##**Docker EE 2.0 + Kubernetes Use Cases:**
99
103
Here's a list of use-cases that can help you understand when and how to use this container to solve networking issues in your Docker cluster. Please feel free to add your own use-case where you used `netshoot` to investigate, trouble-shoot, or just learn more about your environment!!!
100
104
101
105
@@ -629,14 +633,15 @@ br0 8000.0215b8e7deb3 no vxlan1
629
633
```
630
634
631
635
## CTOP
632
-
ctop is a free open source, simple and cross-platform top-like command-line tool for monitoring container metrics in real-time. It allows you to get an overview of metrics concerning CPU, memory, network, I/O for multiple containers and also supports inspection of a specific container.
633
636
634
-
# To get data into ctop, you'll need to bind docker.sock into the netshoot container.
635
-
```
637
+
ctop is a free open source, simple and cross-platform top-like command-line tool for monitoring container metrics in real-time. It allows you to get an overview of metrics concerning CPU, memory, network, I/O for multiple containers and also supports inspection of a specific container.
636
638
637
-
/ # docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nicolaka/netshoot ctop
639
+
To get data into ctop, you'll need to bind docker.sock into the netshoot container.
638
640
639
641
```
642
+
/ # docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nicolaka/netshoot ctop
643
+
```
644
+
640
645

641
646
642
647
It will display running and existed containers with useful metrics to help troubleshoot resource issues; hit "q" to exit.
0 commit comments