Odstranit test.py
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
import subprocess
|
|
||||||
|
|
||||||
all = subprocess.check_output(["sudo", "docker", "ps", "-a", "--format", "{{.Names}}"], text=True).strip()
|
|
||||||
on = subprocess.check_output(["sudo", "docker", "ps", "--format", "{{.Names}}"], text=True).strip()
|
|
||||||
namesall = all.splitlines() if all else []
|
|
||||||
nameson = on.splitlines() if on else []
|
|
||||||
print(namesall)
|
|
||||||
print(nameson)
|
|
||||||
Reference in New Issue
Block a user