Skip to main content

Redirecting to the new page… If not redirected, click here.


title: Docker Installation description: OLake Installation via Docker sidebar_position: 4​

Docker Installation

Refer here to install OLake.

Refer here to build mongodb replicaset.

Docker Commands & Flags​

The two primary commands you’ll use are discover and sync, which both run inside the OLake Docker container. Below is a quick reference table:

CommandDescription
discoverScans the database (e.g., MongoDB) to generate streams.json.
syncRuns initial snapshot and/or CDC-based replication.

Common Flags​

FlagExampleDescription
--config--config /mnt/config/source.jsonPath to the MongoDB (or other DB) connection config.
--catalog--catalog /mnt/config/streams.jsonPath to the Streams File (list of tables/collections to replicate).
--destination--destination /mnt/config/destination.jsonPath to the destination configuration (local or S3).
--state--state /mnt/config/state.jsonPath to a file with saved offsets or resume tokens.

Remember: The -v (volume) flag is crucial for mounting your local OLAKE_DIRECTORY into /mnt/config within the container.



💡 Join the OLake Community!

Got questions, ideas, or just want to connect with other data engineers?
👉 Join our Slack Community to get real-time support, share feedback, and shape the future of OLake together. 🚀

Your success with OLake is our priority. Don’t hesitate to contact us if you need any help or further clarification!