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, 2019 in Docker by Hannah
• 18,410 points
694 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, 2019 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
• 51,970 points
1,248 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
• 10,100 points
266 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, 2019 in Docker by Haseeb
8,386 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,910 points
634 views
+2 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, 2019 in Docker by Priyank
125 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, 2019 in Docker by Priyank
494 views