Separate the kinds of state
A container image is the starting filesystem. Docker adds a writable layer for each container. A mounted volume stores data outside that layer. The running process also has memory that disappears when it stops. These boundaries explain why a restart and a recreation are different tests.
| State | Container restart | Container removal and recreation |
|---|---|---|
| Image files | Remain available. | Come from the selected replacement image. |
| Container writable layer | Remains with the same container. | Is removed with the old container. |
| Named volume | Remains mounted. | Remains unless separately removed; the new container must mount it. |
| Process memory | Is lost; the application must reload needed state. | Is lost; the application must reload needed state. |
| Port bindings and environment | Remain part of the container configuration. | Must be supplied to the replacement container. |
A mounted volume does not make every application value persistent. The application must write the value inside that mount. A DNS cache can intentionally remain memory-only while policy and installation identity are durable.
Inspect the actual mount
For a test container you own, inspect its mount and image before you stop it. Replace the name with your container's exact name. These commands select specific fields; a full inspect dump can include private environment values.
CONTAINER='sig53-pilot'
docker inspect --format '{{json .Mounts}}' "$CONTAINER"
docker inspect --format '{{.Image}}' "$CONTAINER"
docker port "$CONTAINER"
Check both the volume name and its destination. For a managed Sig53 appliance, the persistent destination is /var/lib/sig53. A new empty volume with a similar name is not the previous installation's state.
Repeat a disposable volume experiment
This example uses a small Alpine container, not a DNS appliance. It writes a marker into a new named volume, removes the writer container, then reads the marker from a replacement. It publishes no ports and uses no existing appliance volume. It requires Docker and access to the selected image.
IMAGE='alpine:3.22'
docker pull "$IMAGE"
IMAGE_ID=$(docker image inspect --format '{{.Id}}' "$IMAGE")
VOLUME=$(docker volume create --label sig53.example=volume-persistence)
docker run --rm --network none \
--mount "type=volume,src=$VOLUME,dst=/state" \
"$IMAGE_ID" sh -c 'printf "volume survived\n" > /state/marker'
docker run --rm --network none \
--mount "type=volume,src=$VOLUME,dst=/state,readonly" \
"$IMAGE_ID" cat /state/marker
docker volume rm "$VOLUME"
Expect volume survived from the second container. Both temporary containers are removed by --rm; the named volume persists until the last command removes that specific volume. The tag can change over time, so the commands select the locally resolved image ID for both runs. Record that ID when comparing results.
This experiment demonstrates Docker's storage boundary. It does not prove that a DNS application saved its policy correctly or that a backup is usable.
Plan a Sig53 restart and recovery test
Use an isolated appliance and retain its original run settings. Record the image reference, persistent volume, appliance identity, saved and active configuration revisions, and one controlled domain rule. A private image and its volume contain credential state; do not publish them with your test notes.
- Establish a baseline. Query an allowed name and a controlled blocked name over UDP and TCP. Record the expected policy result.
- Restart the same test container. Wait for valid authorization and repeat the queries. Check the active revision and identity. Expect an interruption while that instance restarts.
- Recreate the test container. Use the same image and persistent volume with the original network and security options. Confirm that the old instance has stopped before starting the replacement.
- Repeat the checks. Verify identity, active settings, domain rules, and client answers. Then remove the temporary test rule.
For an image update, use the portal's update action for the existing appliance. Generating a second appliance is a new identity workflow, not a replacement for preserving the original volume. Follow the maintained Docker recovery procedure for the current release.
Verify behavior, not just file survival
A marker file proves only that one file survived. For a DNS service, also test resolution, policy, configuration activation, and client access. Check reported metrics for counter resets instead of assuming that every counter is durable. A saved revision can remain pending until a restart activates it.
A volume is not a backup. Host loss, disk failure, or accidental volume removal can still destroy state. Use the application's supported consistent-backup procedure and test restoration on an isolated host. Do not clone an active Sig53 identity into a second concurrent installation.
Sources and test scope
The two-container marker experiment was checked on Linux with Docker and Alpine 3.22 on 1 November 2026. It verifies named-volume persistence only. The Sig53 steps are a deployment test procedure, not a claim that all workloads or recovery paths have passed.
Plan a test on your network
Discuss your DNS path, required services, and pilot checks with the Sig53 team.
Request a demo