progress, not working yet

This commit is contained in:
2019-08-03 16:22:25 -07:00
parent eec711a6b1
commit f9970f8b2f
8 changed files with 115 additions and 88 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/bash
docker run -d --name sandbox sneak/sandbox
docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null

View File

@@ -1,3 +0,0 @@
#!/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

View File

@@ -1,3 +0,0 @@
#!/bin/bash
docker kill sandbox
docker rm sandbox

10
bin/start-container Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
IMAGE="sneak/sandbox:next"
docker run
-v /home/sneak:/home/sneak \
-v /storage/admin:/root \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /root/.ssh/authorized_keys:/root/.ssh/authorized_keys \
$IMAGE