Skip to content

Commit

Permalink
Update bash_profile_docker_aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdalert committed Apr 9, 2016
1 parent 4204d3a commit dece11e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bash_profile_docker_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit dece11e

Please sign in to comment.