Docker Community Forums

Share and learn in the Docker community.

New to Docker. If I have a docker container running on my machine, say MySQL, do I need to have a secure password?

Hi everyone!

I’m new to Docker and it seems pretty awesome. I’m trying to figure some basic stuff out.

If I have a docker container running on my machine, say MySQL, do I need to have a secure password for MySQL? Basically I guess I’m asking is it safe to assume it’s only accessible locally or should I assume it’s a security risk and have a long MySQL password even during development?