Red5d / docker-autocompose

Generate a docker-compose yaml definition from a running container
1.76k stars 197 forks source link

Filter containers via regex #57

Closed demon closed 1 year ago

demon commented 1 year ago

Allows for dumping a subset of all containers without having to list them all explicitly.

autocompose.py --all --filter "foo-[0-9]*"

demon commented 1 year ago

This accomplishes the same goals as #47, but is slightly more versatile and leaves out the unrelated code cleanups.