Ubuntu Unbound
This directory contains the docker-compose.yml for building and running an Ubuntu-based server with Unbound DNS.
Running with Podman Compose
To run this service using podman-compose:
- Navigate to this directory:
cd optimized/standalone/ubuntu-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
Due to network_mode: host and privileged: true, directly translating this docker-compose.yml into a single podman run command can be complex and may require manual setup of host network configuration.
A basic podman run example (adapt carefully, as network_mode: host has specific implications):
podman run -d \
--name ubuntu_server \
--network host \
--privileged \
-e TZ=America/New_York \
-v ubuntu_data:/data \
-v ubuntu_config:/config \
ubuntu-server:latest # Assuming 'ubuntu-server:latest' is the built image name
Notes
- Remember to replace any placeholder values (e.g., timezone) with your actual configuration.
- The original
build.shfile might contain additional steps or configurations relevant to the build process. network_mode: hostmeans the container shares the host's network namespace, using the host's IP address directly.privileged: truegrants the container nearly all capabilities of the host machine, which should be used with extreme caution.