We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad225f commit ba874a3Copy full SHA for ba874a3
post/杂记.md
@@ -57,6 +57,13 @@ git config --global core.eol lf
57
git config --global core.autocrlf input
58
```
59
60
+### 5. docker 看所有容器 ip
61
+
62
+```shell
63
+docker ps --format "{{.Names}} {{.Image}}" | while read container_name image; do container_ip=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $container_name); echo "$container_name $image $container_ip"; done
64
+```
65
66
67
## 2. archlinux 相关
68
69
### 1. nvidia,nvidia-open 驱动都无法调用显卡
0 commit comments