更新
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
while true; do
|
||||
nc -l 127.0.0.1 9999 <<EOF
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
$(docker ps -a --format '{{.Names}}|{{.ID}}|{{.Image}}|{{.Status}}|{{.Ports}}')
|
||||
EOF
|
||||
done
|
||||
Reference in New Issue
Block a user