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:
parent
d834fe8440
commit
052defed96
3
aliases
3
aliases
@ -126,6 +126,9 @@ alias drun='docker run -ti'
|
||||
alias dkl='docker kill'
|
||||
alias drm-stopped='docker rm -v $(docker ps -a -q -f status=exited)'
|
||||
alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)'
|
||||
dsh() {
|
||||
docker exec -ti $1 /bin/sh
|
||||
}
|
||||
|
||||
alias dm='docker-machine'
|
||||
dm-con() {
|
||||
|
Loading…
Reference in New Issue
Block a user