1. Images & Charts
  2. dbgate

Echo is acquiring Minimus. See the announcementfor more details.

dbgate

dbgate

Apps
Updated 8 hours ago

DbGate Overview

Secure your stack with a hardened DbGate image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.


DbGate is a web-based database management tool that lets you browse, query, and administer databases from a single interface, including MySQL, PostgreSQL, MariaDB, SQL Server, MongoDB, SQLite, Redis, ClickHouse, CockroachDB, and Oracle. It replaces the need to install and switch between separate client tools for different database engines, giving developers and administrators one consistent place to run SQL queries, browse table data, manage schemas, and export or import data.


Try It Out

DbGate needs a database server to connect to. The steps below start a MySQL database and DbGate using Minimus images.

Step 1 - Create a Docker Network

Create a shared network so DbGate can reach the database by container name:

docker network create dbgate-net

Step 2 - Start a MySQL Database

Start a MySQL database using the Minimus MySQL image. The following command sets the root password to Minimus!, but you can set any password you want:

docker run --rm -d --name mysql \
  --net dbgate-net \
  -e MYSQL_ROOT_PASSWORD=Minimus! \
  reg.mini.dev/mysql

Step 3 - Start DbGate

Run DbGate on the same network as the database, pre-configuring the connection with environment variables:

docker run --rm -d --name dbgate \
  --net dbgate-net \
  -p 3000:3000 \
  -e CONNECTIONS=mysql \
  -e LABEL_mysql=MySQL \
  -e SERVER_mysql=mysql \
  -e USER_mysql=root \
  -e PASSWORD_mysql=Minimus! \
  -e ENGINE_mysql=mysql@dbgate-plugin-mysql \
  reg.mini.dev/dbgate

Once both containers are running, visit http://localhost:3000 to access the DbGate UI. The MySQL connection configured above already appears in the left sidebar — click it to browse databases and tables, and to run SQL queries.

Step 4 - Clean Up

Stop and remove the containers and network:

docker rm -f dbgate mysql
docker network rm dbgate-net

Technical Considerations

The DbGate image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.

DbGate built by Minimus:

  1. Runs as root to support required functions in alignment with the public image.
  2. Drill down on the version specification tab to see the default user, listening ports, entrypoint, volumes, environment variables, etc.

The Payoff

A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.


Terms & Info

Trademark

This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.

Disclaimer

Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.