Since the container pinning PR got shot down, it would be nice if docker ps could accept a regex or wildcard filter on container names. Currently, if I run
docker rm $(docker ps -a -q)
to clear out space on my system by deleting stopped containers, it will also delete any data-only containers I have (because I run them with docker run busybox true). I wrote a hacky script to filter out container names that have "data" in them, but it would be cool if I could just use docker ps natively to do it instead of having to lug around a special script.