Start on actual code

This commit is contained in:
askiiart 2022-12-15 10:31:15 -06:00 committed by GitHub
parent 01251a86bb
commit 0ac3c44f4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
import docker_wrapper 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) # 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()) while True:
pprint.pprint(docker_wrapper.Docker.containers_info()) print('Select the container to manage:')
for container in docker_wrapper.Docker.containers():
print(f' {container}')