Run on Docker

Caution

This command will get you up and running for the first time.

By default, the CrateDB Docker image stores data inside the container. If you delete the container, the data will be deleted along with it. When you’re ready to start using CrateDB for data that you care about, you should consult the full guide to CrateDB and Docker.

CrateDB and Docker are a great match thanks to CrateDB’s shared-nothing, horizontally scalable architecture that lends itself well to containerization.

One-step setup

Spin up the official CrateDB Docker image, like so:

sh$ docker run -p "4200:4200" crate

Tip

If this command aborts with an error, consult the troubleshooting guide.

Next steps

Now you have CrateDB up and running, take the guided tour.

Feedback

How helpful was this page?