Launching a phpMyAdmin Docker container

I put together some easy to follow steps to launch a new phpMyAdmin Docker container to manage the database in your Wappler MySQL container.

Open PowerShell or whatever tool you’re using to operate your Docker containers.

Some parts of your command will be different from everybody else’s depending on your Wappler project settings. I indicated those parts in bold font.

Download a phpMyAdmin Docker image from the Docker Hub by running the command:
docker pull phpmyadmin/phpmyadmin

Find the name of the Docker network your Wappler containers are using by running the command:
docker network ls

The network your containers are using is the one named:
your project name__your target name_default

Write down the name because you will need it in a later step.

Find the name of your MySQL container by running the command:
docker container ls

Your MySQL container is the one named:
your project name__your target name_db_1

Write down the name because you will need it in a later step

Launch a phpMyAdmin container from the image you downloaded, give it a unique name (I’m using myadmin), and link it to your MySQL container through your Docker network on port 8080 by running the command:
docker run --name myadmin -d --link your project nameyour target name_db_1:db -p 8080:80 --network="your project nameyour target name_default" phpmyadmin/phpmyadmin

Now, open the myPHPAdmin UI by opening a web browser and entering the following URL in the address bar:
http://localhost:8080

Community Page
Last updated: