Start on actual code
This commit is contained in:
parent
01251a86bb
commit
0ac3c44f4a
1 changed files with 4 additions and 3 deletions
|
@ -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}')
|
||||||
|
|
Loading…
Reference in a new issue