Install Docker
Install Docker on your machine following the instructions. To make sure Docker is successfully installed on your machine, run a test container as follows:Hello from Docker! message. Otherwise, check the Docker’s Get Started documentation.
Install MindsDB
Run the command below, providing the selected Docker image, to start MindsDB in Docker and follow the logs:Alternatively, if you run this command with the
detach flag, it will return the container ID and not follow the logs:127.0.0.1:47334 in your browser.

Install dependencies
MindsDB integrates with numerous data sources and AI frameworks. To use any of the integrations, you should enure that the required dependencies are installed in the Docker container. Here is how to install the dependencies in the Docker container:-
Run the MindsDB Docker container:
-
Start an interactive shell in the container:
-
Install the dependencies:
For example, run this command to install dependencies for the OpenAI handler:
-
Exit the interactive shell:
-
Restart the container:
Configuration Options
Default Configuration
The default configuration for MindsDB’s Docker image is stored as a JSON code, as below.Custom Configuration
To override the default configuration, you can mount a config file over/root/mindsdb_config.json, as below.
Known Issues
#1
If you experience any issues related to MKL or your training process does not complete, please add theMKL_SERVICE_FORCE_INTEL environment variable, as below.
What’s Next
Now that you installed and started MindsDB locally in your Docker container, go ahead and find out how to create and train a model using theCREATE MODEL statement.
Check out the Use Cases section to follow tutorials that cover Large Language Models, Chatbots, Time Series, Classification, and Regression models, Semantic Search, and more.