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
Testcontainers Go automatically works with Podman without special
configuration. Updated spike document to include:
- Podman benefits (rootless, daemonless, better security)
- Automatic detection (works transparently)
- Configuration options (CONTAINER_HOST env var)
- Podman-specific considerations for TiDB (use manual multi-container
instead of Compose module)
- Testing Podman compatibility
Podman is a drop-in replacement for Docker, so tests should work
without code changes when Podman is available.
-**Mitigation**: Testcontainers handles this automatically
442
443
444
+
## Podman Support
445
+
446
+
Testcontainers Go automatically detects and works with Podman when Docker is not available or when `TESTCONTAINERS_RYUK_DISABLED=true` is set. Podman support is transparent - no code changes needed.
447
+
448
+
### Podman Benefits
449
+
450
+
1.**Rootless**: Can run without root privileges
451
+
2.**Daemonless**: No background daemon required
452
+
3.**Drop-in Replacement**: API-compatible with Docker
453
+
4.**Better Security**: Uses user namespaces
454
+
455
+
### Podman Configuration
456
+
457
+
Testcontainers will automatically use Podman if:
458
+
- Docker is not available, OR
459
+
-`CONTAINER_HOST` environment variable points to Podman socket
0 commit comments