Skip to content

Commit d37afd2

Browse files
committed
Update README.md
1 parent 624d80a commit d37afd2

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

README.md

+16-22
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,31 @@
44
tool for the web. It is a lightweight alternative to setting up phpMyAdmin.
55
This is a [docker](https://www.docker.io) image that eases setup.
66

7-
## Build
7+
![](http://www.adminer.org/static/designs/hever/screenshot.png)
88

9-
```bash
10-
$ git clone https://github.com/clue/docker-adminer.git
11-
$ cd docker-adminer
12-
$ sudo docker build -t adminer .
13-
```
14-
15-
### Running
9+
See also [online demo](http://adminer.sourceforge.net/adminer.php?username=).
1610

17-
This container does not contain its own database,
18-
but instead allows you to connect to a running instance.
11+
## Usage
1912

20-
This makes this container disposable, as it doesn't store any sensitive
21-
information at all.
13+
This docker image is available as a [trusted build on the docker index](https://index.docker.io/u/clue/adminer/),
14+
so there's no setup required.
15+
Using this image for the first time will start a download automatically.
16+
Further runs will be immediate, as the image will be cached locally.
2217

23-
#### Running Adminer temporarily
18+
The recommended way to run this container looks like this:
2419

2520
```bash
26-
$ sudo docker run -it --rm -p 80:80 adminer
21+
$ sudo docker run -d -p 80:80 clue/adminer
2722
```
2823

29-
#### Running Adminer daemonized
24+
The above example exposes the Adminer webinterface on port 80, so that you can now browse to:
3025

31-
```bash
32-
$ sudo docker run -d -p 80:80 adminer
3326
```
34-
35-
### Accessing your webinterface
36-
37-
The above examples expose the Adminer webinterface on port 80, so that you can browse to:
38-
3927
http://localhost/
28+
```
29+
30+
This is a rather common setup following docker's conventions:
4031

32+
* `-d` will run a detached instance in the background
33+
* `-p {OutsidePort}:80` will bind the webserver to the given outside port
34+
* `clue/adminer` the name of this docker image

0 commit comments

Comments
 (0)