Skip to content

Commit 02be7cb

Browse files
committed
hi
1 parent e39b789 commit 02be7cb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.bashrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@ dlog() {
272272
docker logs -f ${cid}
273273
}
274274

275+
deadbash() {
276+
local iid=`docker images | grep $1 | awk '{print $3}'`
277+
echo "docker run -it ${iid} /bin/bash"
278+
docker run -it ${iid} /bin/bash
279+
}
280+
275281
alias here='open .'
276282

277283
# ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim

0 commit comments

Comments
 (0)