Difference between revisions of "Dsh"
Jump to navigation
Jump to search
(Created page with " dsh () { (docker exec -ti $1 bash) || (docker exec -ti $1 sh); }") |
|||
Line 4: | Line 4: | ||
([[docker exec]] -ti $1 bash) || (docker exec -ti $1 [[sh]]); | ([[docker exec]] -ti $1 bash) || (docker exec -ti $1 [[sh]]); | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | == See also == | ||
+ | * [[alias]] | ||
+ | * {{Bash}} | ||
+ | * {{Docker}} |
Latest revision as of 17:54, 23 November 2020
dsh () { (docker exec -ti $1 bash) || (docker exec -ti $1 sh); }
See also[edit]
- alias
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: