MySQL container with PHPMyAdmin or with xampp

0 votes
Hi all, I am new to docker and I have a question to those who use laravel with docker

which better to connect to MySQL database

create a MySQL container and PHPMyAdmin container and import database to it or install xampp and connect and import database to it and connect to it from my app ??
Nov 26 in Docker by Hannah
• 17,060 points
29 views

1 answer to this question.

0 votes
I couldn’t get your point. Overall it is not a safe approach to containerize DB. If you want to use MySQL docker use standard MySQL docker image with persistent volume. Connecting with your app is the best approach.
answered Nov 26 by Priyank

Related Questions In Docker

+1 vote
1 answer

Docker Container Networking with Docker-in-Docker

Given your example docker-in-docker setup above, you ...READ MORE

answered Jul 30, 2018 in Docker by Kalgi
• 45,780 points
720 views
0 votes
1 answer

How to base a docker volume with docker container?

Run the following command: docker run -d --volumes-from ...READ MORE

answered Aug 5, 2018 in Docker by Sophie may
• 9,870 points
105 views
+1 vote
7 answers

How to connect to a Docker container running mysql on Windows 10?

Avoid using bind_address in your my.cnf file. I don't ...READ MORE

answered Apr 25 in Docker by Haseeb
3,216 views
0 votes
1 answer

Enter in a Docker container already running with a new TTY?

Here is what you can try. For docker ...READ MORE

answered Oct 26, 2018 in Docker by shubham
• 6,890 points
202 views
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

laravel with docker ubuntu

You are using a port below 100 ...READ MORE

answered Nov 26 in Docker by Priyank
21 views
0 votes
1 answer

Convert a Docker container into a Singularity container

Its pretty simple. You can just use ...READ MORE

answered Nov 26 in Docker by Priyank
27 views