docker-composer/basic_management.py

8 lines
298 B
Python
Raw Normal View History

2022-12-15 09:56:23 -06:00
import docker_wrapper
2022-12-14 15:45:53 -06:00
# Goals: Loop: Select container (or exit), then menu to do stuff to container (start, stop, rm, list info, go back to main menu)
2022-12-15 10:31:15 -06:00
while True:
print('Select the container to manage:')
for container in docker_wrapper.Docker.containers():
print(f' {container}')