Hacker News new | ask | show | jobs
by rotten 1093 days ago
I use this one all the time to list the containers I currently have running:

    docker_names() { docker ps | awk '{print $NF}'; }