August 21, 20178 yr Hey Guys this is a short video showing how you can easily bash into a running docker container. This is acheived you using a script by ljm42 which allows us to run "docker-shell" then have a list of containers running and then select the one into which we want to docker exec into. A very useful script
August 22, 20178 yr two comments gridrunner:- 1. watch out for saying "paste the script into any text editor" i would assume the mac editor defaults to LF line endings but for windows users pasting the script into notepad is prbably going to cause problems (line endings are hard set to CRLF), i would recommend you encourage windows users to use notepad++ as this does allow to easily switch line endings. 2. and this one is just for kicks :-) - i know you use textmate on your mac, give Atom a go, its very extensible (hundreds of plugins) and my text editing fav on a mac (also cross platform) https://atom.io/ Edited August 22, 20178 yr by binhex
August 22, 20178 yr Author 4 hours ago, binhex said: two comments gridrunner:- 1. watch out for saying "paste the script into any text editor" i would assume the mac editor defaults to LF line endings but for windows users pasting the script into notepad is prbably going to cause problems (line endings are hard set to CRLF), i would recommend you encourage windows users to use notepad++ as this does allow to easily switch line endings. 2. and this one is just for kicks :-) - i know you use textmate on your mac, give Atom a go, its very extensible (hundreds of plugins) and my text editing fav on a mac (also cross platform) https://atom.io/ 8 Ah ok thanks, @binhex, I didn't think of that. I forgot Windows and Dos is CRLF. Yeah, the mac editor defaults to LF since osx. The earlier Mac OSes were CR I think. Thanks, I have just downloaded atom and will give that a try Edited August 22, 20178 yr by gridrunner
August 22, 20178 yr Author 12 hours ago, ljm42 said: Hey nice video Glad you found the script useful! Hey @ljm42 yeah I find it really useful all the time. Thankyou. Anything that makes things easier I like !! I like to use it with @dmacias command line tools plugin. Edited August 22, 20178 yr by gridrunner
Archived
This topic is now archived and is closed to further replies.