From eb7415db9150b30386d460881b79926a8010e7c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Fri, 8 Apr 2016 15:47:58 +0200 Subject: [PATCH] fixed README --- README.markdown | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 340158f..c089582 100644 --- a/README.markdown +++ b/README.markdown @@ -1,7 +1,9 @@ # Usage -`docker run -d --name sandbox sneak/sandbox ; -docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null` +``` +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.) @@ -9,8 +11,10 @@ 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` +``` +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