Skip to content

Install with Docker

You can run MindsDB in a docker container assuming that you have docker installed on your machine. To make sure Docker is successfully installed on your machine, run:

docker run hello-world

You should see the Hello from Docker! message displayed. If not, check the get started documentation.

Run MindsDB container

MindsDB images are uploaded to the MindsDB repo on docker hub after each release.

Pull image

First, run the below command to pull our latest production image:

docker pull mindsdb/mindsdb

Or, to try out the latest beta version, pull the beta image:

docker pull mindsdb/mindsdb_beta

Start container

Next, run the below command to start the container:

docker run -p 47334:47334 mindsdb/mindsdb

Docker run

That's it. MindsDB should automatically start the Studio on your default browser.

Publish ports

Note that you must publish a container’s port to the host -p 47334:47334, which is used by the MindsDB GUI and HTTP API. Also, to use MindsDB MySQL API or MongoDB API, publish -p 47335:47335 -p 47336:47336 ports too.