diff --git a/basic_management.py b/basic_management.py index 49e877c..16a96d3 100644 --- a/basic_management.py +++ b/basic_management.py @@ -1,6 +1,7 @@ import docker_wrapper -import pprint # Goals: Loop: Select container (or exit), then menu to do stuff to container (start, stop, rm, list info, go back to main menu) -pprint.pprint(docker_wrapper.Docker.ps()) -pprint.pprint(docker_wrapper.Docker.containers_info()) +while True: + print('Select the container to manage:') + for container in docker_wrapper.Docker.containers(): + print(f' {container}')