Title logo
linuxserver/phpmyadmin.

1,022,907 19 arm64 amd64

Build Information

General build information for this image

Docker Hub linuxserver/phpmyadmin
Build Time 06 Dec 2024 21:44:31
Base Image lsiobase/alpine-nginx:3.14
Category System Tools
Synchronised Yes
Stable Yes
Deprecated No

Support Information

External links and support

Tracked Tags

Known tags which link to a specific branched app version.

Branch Version Built
latest 5.2.1 06 Dec 2024 at 21:44:30

Daily Pull Statistics

Running this as a container

Basic examples for getting this image running as a container

Docker Compose

---
version: "2"
services:
  phpmyadmin:
    image: linuxserver/phpmyadmin:5.2.1
    container_name: phpmyadmin
    restart: unless-stopped
    environment:
      - TZ=Europe/London # Specify a timezone to use
      - PUID=1000 # User ID to run as
      - PMA_ARBITRARY=1 # Set to 1 to allow you to connect to any server. Setting to 0 will only allow you to connect to specified hosts
      - PMA_ABSOLUTE_URI=https://phpmyadmin.example.com # Set the URL you will use to access the web UI
      - PGID=1000 # Group ID to run as
    volumes:
      - /host/path/to/config:/config # Contains all relevant configuration files.
    ports:
      - 80:80/tcp # Web UI

CLI

docker create \
  --name=phpmyadmin \
  -e TZ=Europe/London `# Specify a timezone to use` \
  -e PUID=1000 `# User ID to run as` \
  -e PMA_ARBITRARY=1 `# Set to 1 to allow you to connect to any server. Setting to 0 will only allow you to connect to specified hosts` \
  -e PMA_ABSOLUTE_URI=https://phpmyadmin.example.com `# Set the URL you will use to access the web UI` \
  -e PGID=1000 `# Group ID to run as` \
  -v /host/path/to/config:/config `# Contains all relevant configuration files.` \
  -p 80:80/tcp `# Web UI` \
  --restart unless-stopped \
  linuxserver/phpmyadmin:5.2.1