DuckDB Docker Container
DuckDB has an official Docker image, which supports both the ARM64 (AArch64) and x86_64 (AMD64) architectures.
Usage
To use the DuckDB Docker image, run:
docker run --rm -it -v "$(pwd):/workspace" -w /workspace duckdb/duckdbUsing the DuckDB UI with Docker
To use the DuckDB UI with Docker, enable host networking.
This setting forwards all ports from the container, so exercise caution and avoid it in secure environments.
docker run --rm -it -v "$(pwd):/workspace" -w /workspace --net host duckdb/duckdbThen, launch the UI as follows:
CALL start_ui();To enable host networking in Docker Desktop, follow the instructions on the Host network driver page.