phpmyadmin

5.2.3-ls256

phpmyadmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.

docker pull lscr.io/linuxserver/phpmyadmin:latest

Quick start

Generated from the image's own configuration. Replace the /path/to folders with real paths on your host.

---
services:
  phpmyadmin:
    image: lscr.io/linuxserver/phpmyadmin:latest
    container_name: phpmyadmin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - PMA_ARBITRARY=1 # optional
      - PMA_ABSOLUTE_URI=https://phpmyadmin.example.com # optional
    volumes:
      - /path/to/phpmyadmin/config:/config
    ports:
      - 80:80
    restart: unless-stopped

Parameters

Ports
PortFunctionRequired
80:80Port for web frontendrequired
Environment variables
VariableFunctionRequired
PUID=1000User IDrequired
PGID=1000Group IDrequired
TZ=Etc/UTCTimezonerequired
PMA_ARBITRARY=1Set to `1` to allow you to connect to any server. Setting to `0` will only allow you to connect to specified hosts (See Application Setup)optional
PMA_ABSOLUTE_URI=https://phpmyadmin.example.comSet the URL you will use to access the web frontendoptional
Volumes
PathFunctionRequired
/configPersistent config filesrequired

Architectures

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Tags

  • :latestStable releases

Changelog

  1. Rebase to Alpine 3.24.

  2. Rebase to Alpine 3.23.

  3. Add support for mTLS. Existing users will need to delete their config.inc.php and restart the container.

Related

Browse all

mariadb

11.8.9-r0-ls237

mariadb is one of the most popular database servers. Made by the original developers of MySQL.

2.8M pulls per month271 GitHub starsarm64

sqlitebrowser

3.13.1-r1-ls228

DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.

45.1K pulls per month37 GitHub starsarm64

mysql-workbench

8.0.47-ls86

MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more.

6.3K pulls per month45 GitHub stars