Get started with QuestDB via Docker

QuestDB has images for both Linux/macOS and Windows on Docker Hub.

Install Docker#

Before we start, you will need to install Docker.

QuestDB image#

/root/.questdb

Container status#

You can check the status of your container with docker ps. It also lists the ports we published:

Importing data and sending queries#

Now that QuestDB is running, you can start interacting with it:

Data persistence#

Mounting a volume#

Volumes can be mounted to the QuestDB Docker container so that data may be persisted or server configuration settings may be passed to an instance. The following example demonstrated how to mount the current directory to a QuestDB container using the -v flag in a Docker run command:

Writing logs to disk#

When mounting a volume to a Docker container,