1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00

Added compose-run

This commit is contained in:
J. Fernando Sánchez
2015-09-22 17:24:14 +02:00
parent d829dd0959
commit 3f5da0dfe0
2 changed files with 24 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ alias drun="docker run"
alias drmi="docker rmi"
alias dps="docker ps"
alias dpi="docker images"
alias dc="docker-compose"
alias dcr="compose-run"
function da () {
docker start $1 && docker attach $1
}
@@ -94,4 +96,5 @@ function newdev () {
docker run -v $PWD:/usr/src/app -t -i --name $1 -h $1 balkian/devmachine
}
TMPPREFIX="${TMPDIR%/}/zsh"