Skip to content

Commit ff5583e

Browse files
committed
change the server image name
Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent 5824fd6 commit ff5583e

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎docs/proposals/TUNNEL.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Even if intercepted: unreadable gibberish
205205

206206
**Tailscale Client**
207207
- VPN client that connects to Headscale
208-
- Runs in each container (installed via `hack/docker/Dockerfile.tunnel`)
208+
- Runs in each container (installed via `hack/docker/Dockerfile.server-tunnel`)
209209
- Joins the mesh, creates tunnel interface
210210

211211
**Your Application = Controller**
@@ -237,7 +237,7 @@ Daemon → Internet → Controller (public IP:8765)
237237
238238
```
239239

240-
**Key:** `hack/docker/Dockerfile.tunnel` installs **Tailscale client** (not Headscale server). Headscale runs separately.
240+
**Key:** `hack/docker/Dockerfile.server-tunnel` installs **Tailscale client** (not Headscale server). Headscale runs separately.
241241

242242
---
243243

@@ -263,7 +263,7 @@ server = Server(connect="tunnel", tunnel_config=config)
263263

264264
Use the tunnel-enabled image. Build it yourself like this:
265265
```bash
266-
docker build -f hack/docker/Dockerfile.tunnel -t my-app:tunnel .
266+
docker build -f hack/docker/Dockerfile.server-tunnel -t my-app:tunnel .
267267
```
268268

269269
### Running
@@ -284,7 +284,7 @@ docker run \
284284

285285
```bash
286286
# From SandD repo
287-
docker build -f hack/docker/Dockerfile.tunnel -t inftyai/sandd-server:latest-tunnel .
287+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
288288
```
289289

290290
### 2. Run Headscale
@@ -543,7 +543,7 @@ A: Attacker can join your mesh. Use single-use keys and revoke immediately if le
543543
**Q: Why not install Headscale in my container?**
544544
A: Headscale is a coordination server - you only need one for the entire mesh. Like DNS: one server, many clients.
545545

546-
**Q: What's in `hack/docker/Dockerfile.tunnel`?**
546+
**Q: What's in `hack/docker/Dockerfile.server-tunnel`?**
547547
A: Python 3.11, SandD library, and Tailscale client (not Headscale server).
548548

549549
**Q: Do I need NET_ADMIN?**

‎examples/tunnel-simple/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can either:
4949

5050
```bash
5151
# Option B: Build manually from repo root
52-
docker build -f hack/docker/Dockerfile.tunnel -t inftyai/sandd-server:latest-tunnel .
52+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
5353
docker build -f hack/docker/Dockerfile.debian -t inftyai/sandd-daemon:debian .
5454
```
5555

‎examples/tunnel-simple/docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
hostname: controller
3232
build:
3333
context: ../..
34-
dockerfile: hack/docker/Dockerfile.tunnel
34+
dockerfile: hack/docker/Dockerfile.server-tunnel
3535
command:
3636
- /bin/bash
3737
- -c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# ↑
77
# └─ Tailscale client (installed in this image)
88
#
9-
# Build: docker build -f Dockerfile.tunnel -t inftyai/sandd-server:latest-tunnel .
9+
# Build: docker build -f Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
1010
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server:latest-tunnel
1111

1212
FROM python:3.11-slim-bookworm

hack/docker/Dockerfile.tunnel-release renamed to hack/docker/Dockerfile.server-tunnel-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SandD Server with Tunnel Support (Release Version)
22
# Uses published PyPI package instead of building from source
33
#
4-
# Build: docker build -f hack/docker/Dockerfile.tunnel-release -t inftyai/sandd-server:v0.1.0-tunnel .
4+
# Build: docker build -f hack/docker/Dockerfile.server-tunnel-release -t inftyai/sandd-server:v0.1.0-tunnel .
55
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server:v0.1.0-tunnel
66

77
FROM python:3.11-slim-bookworm

‎hack/docker/README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This directory contains Docker-related files for building and testing SandD.
88

99
#### Server (Controller) Images
1010

11-
- **`Dockerfile.tunnel`** - Server with Tailscale (build from source)
11+
- **`Dockerfile.server-tunnel`** - Server with Tailscale (build from source)
1212
- Use: Development and testing
13-
- Build: `docker build -f hack/docker/Dockerfile.tunnel -t inftyai/sandd-server:latest-tunnel .`
13+
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .`
1414
- See: [docs/proposals/TUNNEL.md](../../docs/proposals/TUNNEL.md)
1515

16-
- **`Dockerfile.tunnel-release`** - Server with Tailscale (uses PyPI release)
16+
- **`Dockerfile.server-tunnel-release`** - Server with Tailscale (uses PyPI release)
1717
- Use: Production deployments
18-
- Build: `docker build -f hack/docker/Dockerfile.tunnel-release --build-arg SANDD_VERSION=0.1.0 -t inftyai/sandd-server:v0.1.0-tunnel .`
18+
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel-release --build-arg SANDD_VERSION=0.1.0 -t inftyai/sandd-server:v0.1.0-tunnel .`
1919

2020
#### Daemon (Worker) Images
2121

@@ -46,7 +46,7 @@ This directory contains Docker-related files for building and testing SandD.
4646

4747
```bash
4848
# From repo root
49-
docker build -f hack/docker/Dockerfile.tunnel -t inftyai/sandd-server:latest-tunnel .
49+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
5050
```
5151

5252
### Build test images

0 commit comments

Comments
 (0)