← All guides
Metabase
Metabase is a business intelligence tool for building dashboards and ad-hoc charts over your data without writing SQL, distributed as an official Docker image.
This guide is synthesized from Metabase's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
1Quick start (embedded database)
docker pull metabase/metabase:latestdocker run -d -p 3000:3000 --name metabase metabase/metabaseThis uses Metabase's bundled H2 database, which lives inside the container — removing the container loses your questions, dashboards, and collections.
2Production setup with PostgreSQL
Point Metabase at your own PostgreSQL instance to store its application data durably.
docker run -d -p 3000:3000 \ -e "MB_DB_TYPE=postgres" \ -e "MB_DB_DBNAME=metabaseappdb" \ -e "MB_DB_PORT=5432" \ -e "MB_DB_USER=name" \ -e "MB_DB_PASS=password" \ -e "MB_DB_HOST=my-database-host" \ --name metabase metabase/metabase3Check startup progress
docker logs -f metabase4Complete the setup wizard
Open http://localhost:3000 and follow the setup wizard to create your admin account and connect the data source(s) you want to explore.