diff options
author | GDR! <gdr@gdr.name> | 2020-08-15 20:00:18 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2020-08-15 20:00:18 +0200 |
commit | 3196377fe33d6a23f22fb47ed4f2b174e370d086 (patch) | |
tree | 310e4aced5598a0edcb362d608a139ece6a43721 | |
parent | 82dc57e4c9e4ef2eeb53224328ac7fa87c694987 (diff) |
New docker image address at dockerhub
-rw-r--r-- | FAQ.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -63,17 +63,19 @@ Work in progress: | |||
63 | 63 | ||
64 | ## Can I run it with Docker? | 64 | ## Can I run it with Docker? |
65 | 65 | ||
66 | I've made a [Docker image](https://gitlab.com/gjedeer/tuntox/container_registry/) by bundling a static build with Alpine Linux, but I don't think I'm going to remember to keep it up to date at all times. There's a [Dockerfile](Dockerfile) and [docker-compose.yaml](scripts/docker-compose.yaml). | 66 | ATTENTION - DOCKER IMAGE MOVED FROM GITLAB TO DOCKERHUB ON 2020-08-15 |
67 | |||
68 | I've made a [Docker image](https://hub.docker.com/r/gdr1/tuntox) by bundling a static build with Alpine Linux, it's built automatically by Dockerhub every time I push code to Github. There's a [Dockerfile](Dockerfile) and [docker-compose.yaml](scripts/docker-compose.yaml) if you want to build the image yourself. | ||
67 | 69 | ||
68 | The tox config is stored in `/data` and that's where you want to attach your volumes. | 70 | The tox config is stored in `/data` and that's where you want to attach your volumes. |
69 | 71 | ||
70 | ``` | 72 | ``` |
71 | docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -v /tmp/tt:/data -it registry.gitlab.com/gjedeer/tuntox:latest | 73 | docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -v /tmp/tt:/data -it gdr1/tuntox:latest |
72 | ``` | 74 | ``` |
73 | 75 | ||
74 | The binary is in `/usr/bin/tuntox` (and `/usr/bin/tokssh`): | 76 | The binary is in `/usr/bin/tuntox` (and `/usr/bin/tokssh`): |
75 | ``` | 77 | ``` |
76 | docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -it registry.gitlab.com/gjedeer/tuntox:latest /usr/bin/tuntox -i 1234abc -p | 78 | docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -it gdr1/tuntox:latest /usr/bin/tuntox -i 1234abc -p |
77 | ``` | 79 | ``` |
78 | 80 | ||
79 | ## Can I run it on Windows? | 81 | ## Can I run it on Windows? |