You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,37 @@ This code enables tunneling of a single threaded TCP client / server socket inte
18
18
19
19
* Docker 18+
20
20
21
-
### Running the Docker Build
21
+
### Using Pre-built Docker Images
22
22
23
-
`./docker-build.sh`
23
+
We provide several docker images on various platforms.
24
+
There are two types of images: base images and release images.
25
+
The base images come with all dependencies pre-installed. You will still need to download and build the source.
26
+
These are useful if you want to modify and [compile](https://github.com/aws-samples/aws-iot-securetunneling-localproxy#download-and-build-the-local-proxy) the local proxy on your own, but are large (~1 GB each).
If you do not want to use the prebuilt images, you can build them yourself:
38
+
39
+
`cd .github/docker-images/base-images/<os of choice>`
40
+
41
+
`docker build -t <your tag> .`
24
42
25
-
After the Docker build completes, run `./docker-run.sh` to open a shell inside the container created in the
26
-
previous step, or you can run `./docker-run.sh -p <port_number>` to expose a port from the docker container. Here you can find both the `localproxy` and `localproxytest` binaries. Note that when the localproxy runs in source mode, it binds by default to `localhost`, If you want to access the localproxy from outside the container, make sure to use the option `-b 0.0.0.0` when you run the localproxy from the container so that it binds to `0.0.0.0` since `localhost` can not be access from outside the container.
After the Docker build completes, run `docker run --rm -it <tag>` to open a shell inside the container created in the
48
+
previous step, or you can add ` -p <port_number>` to expose a port from the docker container. Note that when the localproxy runs in source mode, it binds by default to `localhost`, If you want to access the localproxy from outside the container, make sure to use the option `-b 0.0.0.0` when you run the localproxy from the container so that it binds to `0.0.0.0` since `localhost` can not be access from outside the container.
0 commit comments