fixed README

This commit is contained in:
Jeffrey Paul 2016-04-08 15:47:58 +02:00
parent 08e7525433
commit eb7415db91
1 changed files with 8 additions and 4 deletions

View File

@ -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