
To install Open Metadata locally using Docker, here’s a step-by-step guide. Open Metadata is an open-source data governance and metadata management platform that can help developers and data engineers streamline and organize metadata across diverse tools and data sources. Installing it locally lets you test configurations, explore features, and work offline.
Introduction: Why Install Open Metadata Locally?
Local installations of Open Metadata are useful for testing configurations, experimenting with integrations, and running development tasks in an isolated environment. By using Docker, we simplify the setup process and avoid potential dependency issues, making it easier to dive into Open Metadata’s capabilities.
Step 1: Install Docker
If you haven’t already, start by installing Docker Desktop from [Docker’s official website] and follow the setup instructions for your OS.
To verify the Docker installation, open a terminal and run:
docker --version
This command should display the Docker version if installation was successful.
Step 2: Run Open Metadata Using Docker
Open Metadata provides a **Docker Compose** setup, which makes it easy to bring up multiple services (such as the Open Metadata server, MySQL, and ElasticSearch) in a single command.
1. Create a Docker Compose file
In an empty directory, create a file named `docker-compose.yml`. Copy and paste the following configuration:
version: '3.7'
services:
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: openmetadata_root_password
MYSQL_DATABASE: openmetadata_db
ports:
- "3306:3306"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
environment:
- discovery.type=single-node
ports:
- "9200:9200"
openmetadata_server:
image: openmetadata/server:latest
depends_on:
- mysql
- elasticsearch
environment:
- DATABASE_URL=mysql://root:openmetadata_root_password@mysql:3306/openmetadata_db
ports:
- "8585:8585"
2. Start Open Metadata
In the same directory as your `docker-compose.yml` file, open a terminal and run:
docker-compose up -d
This command tells Docker to start all services defined in the Compose file in detached mode (`-d`), meaning they’ll run in the background.
3. Verify the Services
– Check Running Containers: Use `docker ps` to list the running containers and ensure `mysql`, `elasticsearch`, and `openmetadata_server` are running.
– Access Open Metadata: Open your web browser and go to `http://localhost:8585`. You should see the Open Metadata UI, where you can log in and begin exploring features.
4. Stopping Open Metadata
– When you’re finished, stop and remove the containers with:
docker-compose down
Step 3: Managing and Verifying the Installation
To keep your environment clean and verify installations:
– Use Docker logs: If you encounter issues, check logs for each service by running:
docker logs <container_name>
– Version Managment: By specifying versions in your `docker-compose.yml` (e.g., `openmetadata/server:`), you can control and switch between different releases of Open Metadata.
Summary
Installing Open Metadata using Docker Compose is a straightforward approach that gives you a full-fledged, isolated setup for testing and development. By running each service in Docker containers, you can manage and scale your setup without interfering with other systems, making Docker an ideal environment for experimenting with Open Metadata.
Last Releases
- 1.7.5-releaseRelease: Add what’s new content for 1.7.5 (#21860) (cherry picked from commit 1439081) Source: https://github.com/open-metadata/OpenMetadata/releases/tag/1.7.5-release
- 1.6.13-releasefix #21394 Custom properties bug update with existing wrong values (#… …21825) * fix #21394 allow only updated extension fields to be validated * fix #21394 add tests * fix… Read more: 1.6.13-release
- 1.7.4-releaseAdd what’s new content for 1.7.4 (#21794) (cherry picked from commit 74851f8) Source: https://github.com/open-metadata/OpenMetadata/releases/tag/1.7.4-release