compute/docker-debug.md
... ...
@@ -0,0 +1,12 @@
1
+<!-- TITLE: Docker Debug -->
2
+<!-- SUBTITLE: Shit to look at when docker's gone titsup -->
3
+
4
+# Processes
5
+Find docker processes from system shell
6
+`# docker ps`
7
+`# ps -eo pid,cgroup,cmd | grep <first 8 chars of containerID>`
8
+
9
+# Network
10
+Look at the network config from a container's namespace
11
+`# nsenter -t $(docker inspect --format '{{.State.Pid}}' <containerid>) -n ip {addr|route|...}`
12
+or run bash instead of ip to get a shell in the namespace.
... ...
\ No newline at end of file
docker-debug.md
... ...
@@ -1,12 +0,0 @@
1
-<!-- TITLE: Docker Debug -->
2
-<!-- SUBTITLE: Shit to look at when docker's gone titsup -->
3
-
4
-# Processes
5
-Find docker processes from system shell
6
-`# docker ps`
7
-`# ps -eo pid,cgroup,cmd | grep <first 8 chars of containerID>`
8
-
9
-# Network
10
-Look at the network config from a container's namespace
11
-`# nsenter -t $(docker inspect --format '{{.State.Pid}}' <containerid>) -n ip {addr|route|...}`
12
-or run bash instead of ip to get a shell in the namespace.
... ...
\ No newline at end of file