8/22/2023 0 Comments Download docker phpmyadminp 8080:80 : You cannot access PHPMyAdmin outside the docker container by default for that we have to forward or map its default port with the port of the host machine. e PMA_ARBITRARY=1 – We don’t want to assign some particular MySQL/MariaDB database server to phpMyAdmin, thus this option will give us the ability to manually use the address of our Database server to connect and manage through the phpMyAdmin. d – This makes the container run in the background Here we are giving it myh2sadmin you can use whatever you want. Thus, manually assign a name to our container. name myh2sadmin: By Default, while creating a container the system will assign some random name to it, this will create confusion when we want to remember its name to start or stop it. docker run -name myh2sadmin -d -e PMA_ARBITRARY=1 -p 8080:80 phpmyadminĭocker run – This is a command to create and start a container using an image. Please go through the below-given command. Once we have the docker image of phpMyAdmin, the next step is to run the same to create a container. Create and Run phpMyAdmin Docker Container To check and find the downloaded docker image name, run – docker imagesģ. Here is the command to do that- docker pull phpmyadmin If your system already has this container platform then the next step is to download the docker image of phpMyAdmin available on Docker Hub. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |