RudderStack Docker Setup
2 minute read
This guide will help you set up the RudderStack data plane in your Docker environment.
The Docker setup is the easiest and the fastest way to get up and running with RudderStack.
Data plane setup in Docker
- Download the
rudder-docker.ymldocker-compose file. - Replace
<your_workspace_token>in this file with your workspace token. - In your terminal, navigate to the directory where you want to install RudderStack and run the following command:
docker compose -f rudder-docker.yml up -d
If you’re using an older version of Docker, run the following command:
docker-compose -f rudder-docker.yml up
Update setup
RudderStack recommends using the latest
rudder-serverandrudder-transformerversions to avoid any breaking changes to your pipelines.See the Server-Transformer Compatibility guide for more information.
- Stop the running container.
- Pull the images with the latest minor release for both
rudder-serverandrudder-transformer.
docker pull rudderlabs/rudder-server:<version>
docker pull rudderlabs/rudder-transformer:<version>
See the below
rudder-docker.ymlreferences to update specific image versions:
- Start the container.
- Test the container health with the
/healthendpoint.
Workspace token
The workspace token is a unique identifier of your RudderStack workspace. RudderStack uses this token to automatically read your source-destination configurations when you set up and run the data plane.
- Log in to your RudderStack Open Source dashboard.
- Copy your workspace token from Settings > Workspace:

Self-hosted control plane
If you are self-hosting your control plane using Control Plane Lite, see Docker instructions to set up your data plane.
Control Plane Lite is now deprecated and does not work with the latest
rudder-serverversions.To set up and manage your connections, using the RudderStack-hosted control plane is strongly recommended.
Verify installation
To verify if the setup is successful, follow the steps listed in Verify installation.
