Apache, PHP and MariaDB with Adminer in one container. One docker run.
1.3K
Apache, PHP and MariaDB, with Adminer, in one container. Start it with one docker run, with no compose file needed.
This is a development image. It is the successor to tomsik68/xampp. Coming from there? Read the migration guide.
docker run -d --name lamp \
-p 80:80 -p 3306:3306 \
-v "$PWD":/var/www/html \
-v lamp-db:/var/lib/mysql \
tomsik68/lamp
root, password root)localhost:3306 from the host, or localhost from PHP inside the container.Warning
The default MariaDB login is **root / root**, and root can connect from outside the container. That's convenient on your laptop, but don't publish port 3306 on a network you don't trust. To choose a different password, set `-e MARIADB_ROOT_PASSWORD=…` on the **first** start. See [configuration](https://github.com/tomsik68/lamp/blob/main/docs/configuration.md).
php:X.Y-apache image on Debian trixie, with mod_rewrite and AllowOverride All./adminer (/phpmyadmin redirects there).composer.docker exec -it lamp bash and docker cp.| Tag | PHP | Status |
|---|---|---|
8.5, 8, latest, 8.5-trixie, 8.5.X | 8.5 | supported |
8.4, 8.4-trixie, 8.4.X | 8.4 | supported |
8.4 again picks up security fixes.linux/amd64 and linux/arm64, and are mirrored at ghcr.io/tomsik68/lamp.MIT
Content type
Image
Digest
sha256:6c7c80fb4…
Size
253.3 MB
Last updated
about 2 hours ago
docker pull tomsik68/lamp