summaryrefslogtreecommitdiffstats
path: root/Services/postgres
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 11:14:47 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 11:14:47 +0100
commitd8a6bb4736e42b32bea012d14e5ba91fc1d1e69b (patch)
tree9c5861e5481d6ab4580ac016232a2639997155ac /Services/postgres
parent910a26141f16336c96e304ebe850a4e5a0f97f95 (diff)
downloadphpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.gz
phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.bz2
phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.xz
phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.zip
modif de code example dans les readme
Diffstat (limited to 'Services/postgres')
-rw-r--r--Services/postgres/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/Services/postgres/README.md b/Services/postgres/README.md
index 40881af..5043438 100644
--- a/Services/postgres/README.md
+++ b/Services/postgres/README.md
@@ -3,10 +3,10 @@ This container run postgres on fedora server.
## Running from docker registry
- # docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres
- # when linked to another container
- # docker run -d --name="postgres" startx/sv-postgres
- # docker run -d --name="php" --link postgres:postgres startx/sv-php
+ docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres
+ when linked to another container
+ docker run -d --name="postgres" startx/sv-postgres
+ docker run -d --name="php" --link postgres:postgres startx/sv-php
## Build and run from local Dockerfile
### Building docker image
@@ -22,11 +22,11 @@ and build the container
### Running local image
- # docker run -d -p 5432:5432 --name="postgres" sv-postgres
+ docker run -d -p 5432:5432 --name="postgres" sv-postgres
## Accessing server
- # psql -U postgres -h localhost -p 5432
+ psql -U postgres -h localhost -p 5432
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/postgres)