1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add a docker exec shell alias

This commit is contained in:
Joe Groocock 2016-07-20 16:41:52 +01:00
parent d834fe8440
commit 052defed96

View File

@ -126,6 +126,9 @@ alias drun='docker run -ti'
alias dkl='docker kill' alias dkl='docker kill'
alias drm-stopped='docker rm -v $(docker ps -a -q -f status=exited)' alias drm-stopped='docker rm -v $(docker ps -a -q -f status=exited)'
alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)' alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)'
dsh() {
docker exec -ti $1 /bin/sh
}
alias dm='docker-machine' alias dm='docker-machine'
dm-con() { dm-con() {