diff --git a/README.markdown b/README.markdown index c5a975c..340158f 100644 --- a/README.markdown +++ b/README.markdown @@ -1,32 +1,53 @@ # Usage -`docker run -ti sneak/sandbox /bin/bash -c 'byobu'` +`docker run -d --name sandbox sneak/sandbox ; +docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null` + +(The 'script' bit works around a bug where `docker exec -t` doesn't +give you a usable tty.) + +Or, if you're clever and run an Ubuntu mirror (or caching reverse proxy) on +your docker host: + +`docker run -d --add-host archive.ubuntu.com:172.17.0.1 --name sandbox sneak/sandbox ; +docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null` # Includes Things Like * vim +* neovim * rbenv -* python / setuptools / virtualenv -* node4/coffeescript/coffeelint -* byobu / screen -* docker client -* awscli +* default-jre +* docker (from docker) +* docker-compose +* docker-machine +* bash completion +* python (from ubuntu) + * setuptools + * virtualenv +* node4 (from ubuntu) + * coffeescript + * coffeelint +* go1.6 (from ubuntu) +* byobu and screen +* awscli (from pypi) * irssi -* runit / daemontools / envdir / etc -* build-essential / make -* latex and fonts -* useful misc tools +* runit / daemontools + * envdir +* build-essential + * make +* latex and fonts (from ubuntu) +* Other useful misc tools * pv * pbzip2 * nmap * ppss * pwgen + * netcat and telnet * and much more... # TODO -* docker-machine -* golang * ctags / enhanced vim * sweet screenrc or byobu config * customize PS1 @@ -34,3 +55,26 @@ * more editors (emacs) * rbenv build versions * more fonts +* pathogen +* overcommit +* mercurial + +# Feedback + +Feedback is appreciated, PRs are encouraged. + +Drop me an email or tweet [@sneakdotberlin](https://twitter.com/sneakdotberlin). + +# Author + +Jeffrey Paul <sneak@sneak.berlin> + +https://sneak.berlin + +[@sneakdotberlin](https://twitter.com/sneakdotberlin) + +`5539 AD00 DE4C 42F3 AFE1 1575 0524 43F4 DF2A 55C2` + +# License + +This code is released into the public domain. diff --git a/bin/sandbox b/bin/sandbox new file mode 100755 index 0000000..8444ecd --- /dev/null +++ b/bin/sandbox @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d --name sandbox sneak/sandbox +docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null diff --git a/bin/sandbox-fast b/bin/sandbox-fast new file mode 100755 index 0000000..028a8d5 --- /dev/null +++ b/bin/sandbox-fast @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d --add-host archive.ubuntu.com:172.17.0.1 --name sandbox sneak/sandbox +docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null diff --git a/bin/sandbox-kill b/bin/sandbox-kill new file mode 100755 index 0000000..88d1b6f --- /dev/null +++ b/bin/sandbox-kill @@ -0,0 +1,3 @@ +#!/bin/bash +docker kill sandbox +docker rm sandbox