SpaceInvaderOne Posted August 21, 2017 Share Posted August 21, 2017 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 Quote Link to comment
ljm42 Posted August 22, 2017 Share Posted August 22, 2017 Hey nice video Glad you found the script useful! Quote Link to comment
binhex Posted August 22, 2017 Share Posted August 22, 2017 (edited) 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, 2017 by binhex Quote Link to comment
SpaceInvaderOne Posted August 22, 2017 Author Share Posted August 22, 2017 (edited) 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, 2017 by gridrunner Quote Link to comment
SpaceInvaderOne Posted August 22, 2017 Author Share Posted August 22, 2017 (edited) 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, 2017 by gridrunner Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.