From 905cae841eff6eb0d24755435f44e26af0488093 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 10 Aug 2022 00:39:02 +0200 Subject: [PATCH] Update the examples to have something more explicit for Docker command line examples Ref: https://github.com/phpmyadmin/phpmyadmin/commit/7faf6a53ecd3ce5b47d484b717c9b153d970f678 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b53124c1..c14b445b 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ First you need to run a MySQL or MariaDB server in Docker, and the phpMyAdmin im linked to the running database container: ```sh -docker run --name myadmin -d --link mysql_db_server:db -p 8080:80 phpmyadmin +docker run --name phpmyadmin -d --link mysql_db_server:db -p 8080:80 phpmyadmin:latest ``` ## Usage with external server @@ -70,7 +70,7 @@ You can specify a MySQL host in the `PMA_HOST` environment variable. You can als use `PMA_PORT` to specify the port of the server in case it's not the default one: ```sh -docker run --name myadmin -d -e PMA_HOST=dbhost -p 8080:80 phpmyadmin +docker run --name phpmyadmin -d -e PMA_HOST=dbhost -p 8080:80 phpmyadmin:latest ``` ## Usage with arbitrary server @@ -78,7 +78,7 @@ docker run --name myadmin -d -e PMA_HOST=dbhost -p 8080:80 phpmyadmin You can use arbitrary servers by adding the environment variable `PMA_ARBITRARY=1` to the startup command: ```sh -docker run --name myadmin -d -e PMA_ARBITRARY=1 -p 8080:80 phpmyadmin +docker run --name phpmyadmin -d -e PMA_ARBITRARY=1 -p 8080:80 phpmyadmin:latest ``` ## Usage with docker-compose and arbitrary server @@ -118,7 +118,7 @@ in it, and then linking it into the container using: On the `docker run` line like this: ```sh -docker run --name myadmin -d --link mysql_db_server:db -p 8080:80 -v /some/local/directory/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php phpmyadmin +docker run --name phpmyadmin -d --link mysql_db_server:db -p 8080:80 -v /some/local/directory/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php phpmyadmin:latest ``` Be sure to have `