Updated README to clarify the build step is only required if Configuration Step 6b (local image) is being used.
This commit is contained in:
Frank Edwards 2023-01-14 10:54:18 +10:00
parent b52b25caf7
commit b98631c324

View file

@ -17,7 +17,7 @@ A WAN interface is configured as per default configuration on **ether1** for con
### Build the Docker Image ### Build the Docker Image
Note this step is only required if you are uploading an image to your router. See Configuration Step 6. **Note**: this step is only required if you are uploading a tar image file to your router as per Configuration Step 6b.
The build script uses [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/). The build script uses [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/).
@ -81,9 +81,9 @@ add name="tailscale" key="TAILSCALE_ARGS" value="--accept-routes --advertise-exi
6. Create the container 6. Create the container
The container can be created via a registry or using the `tailscale.tar` file. The container can be created via the container registry (Step 6a) or using the `tailscale.tar` file generated by building the Docker image locally (Step 6b).
a. Container registry 6a. Container registry
Configure the registry URL and add the container. Configure the registry URL and add the container.
@ -94,9 +94,9 @@ set registry-url=https://ghcr.io tmpdir=disk1/pull
/container add remote-image=fluent-networks/tailscale-mikrotik:latest interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8 /container add remote-image=fluent-networks/tailscale-mikrotik:latest interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8
``` ```
b. Tar archive file 6b. Tar archive file
Upload the `tailscale.tar` file to your router. Below we will assume the image is located at `disk1/tailscale.tar` Using the file `tailscale.tar` generated by running `build.sh`, upload the file to your router. Below we assume the image has been uploaded to the router as `disk1/tailscale.tar`
``` ```
/container add file=disk1/tailscale.tar interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8 /container add file=disk1/tailscale.tar interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8