b636124d9e6c5f3bfc8042bb4ef44c23460b3491
compute/docker.md
| ... | ... | @@ -1,5 +1,4 @@ |
| 1 | -<!-- TITLE: Docker --> |
|
| 2 | -<!-- SUBTITLE: Docker stuff --> |
|
| 1 | +# Docker |
|
| 3 | 2 | |
| 4 | 3 | # Tricks |
| 5 | 4 | ## ssh |
| ... | ... | @@ -50,4 +49,4 @@ Look at the network config from a container's namespace |
| 50 | 49 | ``` |
| 51 | 50 | # nsenter -t $(docker inspect --format '{{.State.Pid}}' <containerid>) -n ip {addr|route|...} |
| 52 | 51 | ``` |
| 53 | -or run bash instead of ip to get a shell in the namespace. |
|
| ... | ... | \ No newline at end of file |
| 0 | +or run bash instead of ip to get a shell in the namespace. |