1.5 KiB
1.5 KiB
Alpine Unbound
This directory contains the docker-compose.yml for building and running an Alpine-based Unbound DNS resolver.
Running with Podman Compose
To run this service using podman-compose:
- Navigate to this directory:
cd optimized/standalone/alpine-unbound - Build the image (if not already built by the original
build.sh):podman-compose build - Start the service:
podman-compose up -d
Running with Podman (if built elsewhere)
If you have already built the alpine-unbound:latest image, you can run it directly with Podman. Note that translating a full docker-compose.yml to a single podman run command can be complex due to network and volume declarations.
A simplified podman run example (adjust networks and volumes as needed for your specific setup):
podman run -d \
--name alpine_unbound \
--network dns_net \
-p 5335:5335/tcp \
-p 5335:5335/udp \
-v unbound_config:/etc/unbound/unbound.conf.d \
-v unbound_data:/var/lib/unbound \
alpine-unbound:latest
Ensure the dns_net network and necessary volumes exist before running.
Notes
- Remember to replace any placeholder values (e.g., timezone, ports) with your actual configuration.
- The original
build.shfile might contain additional steps or configurations relevant to the build process. - For persistent configuration, ensure the
unbound_configvolume is correctly managed.