/docker-adminer

Adminer docker image, a full-featured database management tool for the web

Primary LanguageDockerfile

docker-adminer

adminer快速搭建,使用php官方alpine镜像,体积小。

Adminer is a full-featured database management tool for the web. It is a lightweight alternative to setting up phpMyAdmin. This is a docker image that eases setup.

See also online demo.

Usage

This docker image is available as a trusted build on the docker index, so there's no setup required. Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.

The recommended way to run this container looks like this:

$ sudo docker run -d -p 80:80 happypine/adminer

The above example exposes the Adminer webinterface on port 80, so that you can now browse to:

http://localhost/

This is a rather common setup following docker's conventions:

  • -d will run a detached instance in the background
  • -p {OutsidePort}:80 will bind the webserver to the given outside port
  • adminer the name of this docker image