list of all existing containers Returns: an array with list of all existing containers name
()
| 100 | |
| 101 | |
| 102 | def all_existing_containers(): |
| 103 | """ |
| 104 | list of all existing containers |
| 105 | |
| 106 | Returns: |
| 107 | an array with list of all existing containers name |
| 108 | """ |
| 109 | return [container.rsplit()[-1] for container in |
| 110 | os.popen("docker ps -a").read().rsplit("\n")[1:-1]] |
| 111 | |
| 112 | |
| 113 | def all_existing_images(): |
no outgoing calls
no test coverage detected