From dece11e7dee3af6d29969413ad2bb3c2ab6e5864 Mon Sep 17 00:00:00 2001 From: Brent Salisbury Date: Sat, 9 Apr 2016 02:37:55 -0400 Subject: [PATCH] Update bash_profile_docker_aliases --- bash_profile_docker_aliases | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bash_profile_docker_aliases b/bash_profile_docker_aliases index 2ce9b56..136315a 100644 --- a/bash_profile_docker_aliases +++ b/bash_profile_docker_aliases @@ -55,8 +55,10 @@ alias dls='docker ps -a ' alias dlsl='docker ps -l ' alias dac='sudo docker attach ' -# Inspect the last container created -alias dmin='docker-machine inspect $(docker-machine ls | tail -1 | awk "{print $1}")' +# Docker inspect the last container created +alias diln='docker inspect $(docker ps -qa | head -n1)' +# Docker inspect all containers +alias dila='docker inspect $(docker ps -qa | head -n1)' # Delete all containers matching the passed paramater # Example: "delcon ubuntu" or 'anything matching in docker ps output'