docker run --name phpmyadminContainerName -d -e PMA_HOST=[hostname] -e PMA_USER=[user] -e PMA_PASSWORD=[password] -p 8088:80 phpmyadmin/phpmyadmin
Replace [YOUR_HOSTNAME], [YOUR_USERNAME], and [YOUR_PASSWORD] with your own values. This command will start the phpMyAdmin container in the background and expose it on port 8088 of your local machine. You can access phpMyAdmin by opening a web browser and navigating to http://localhost:8088.
No comments:
Post a Comment