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 12, 2016
1 parent 7995d19 commit 8f6f7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash_profile_docker_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ alias dinl='docker inspect $(docker ps -qal)'
alias dina='docker inspect $(docker ps -qa)'

# Inspect and parse all IPs for all containers
alias dnip='dina | grep -i IPA | grep 1'
alias dnip='docker inspect $(docker ps -qa) | grep IPA | grep [0-9]'

# Example Docker network inspect all network subnets
alias dnsub='docker network inspect $(docker network ls -q) | grep Subnet'
alias dnnet='docker network inspect $(docker network ls -q) | grep "Subnet\|Gateway"'

# Delete all containers matching the passed paramater
# Example: "delcon ubuntu" or 'anything matching in docker ps output'
Expand Down

0 comments on commit 8f6f7f4

Please sign in to comment.