Skip to content

Commit

Permalink
Add some docker/docker compose aliases to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
claha committed Aug 30, 2023
1 parent f47bcdf commit d1ba2af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/bash/files/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ alias enw='emacs --no-window-system'
alias g='git'
alias d='docker'

# Docker/Docker Compose aliases
alias dps='docker ps --format "table {{.ID}}\t{{.Image}}\\t{{.Status}}\t{{.Names}}"'
alias dup='docker compose up --detach --force-recreate'
alias dlogs='docker compose logs --follow --tail 100'
alias dclean='docker system prune --all --volumes'

# Export
export PATH="$HOME/.local/bin:$PATH"
GPG_TTY=$(tty)
Expand Down

0 comments on commit d1ba2af

Please sign in to comment.