nni/test/vso_tools/stop_docker.py

8 строки
152 B
Python

import sys
from _common import run_command
name = sys.argv[1]
run_command(f'docker container stop {name}')
run_command(f'docker container rm {name}')