Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Dockersh – a shell that puts users into individual docker containers.
https://gist.github.com/TeMPOraL/3d134ce0d4a2b2f4232b
Basically, it starts a screen instance with a shell and your script running side by side, so when you Docker-attach to it, you can C-a " to shell.
run.sh would be the script you want to be run in container - the one that starts your webserver, database, whatever.
I adapted a screen solution from some random StackOverflow comment.
There are no comments on this comment yet.
https://gist.github.com/TeMPOraL/3d134ce0d4a2b2f4232b
Basically, it starts a screen instance with a shell and your script running side by side, so when you Docker-attach to it, you can C-a " to shell.
run.sh would be the script you want to be run in container - the one that starts your webserver, database, whatever.
I adapted a screen solution from some random StackOverflow comment.