docker-lamp icon indicating copy to clipboard operation
docker-lamp copied to clipboard

Changing webserver port, mysql

Open mitmelon opened this issue 3 years ago • 3 comments

Please how do I change this ports because its conflicting with existing mysql on docker

mitmelon avatar May 08 '22 11:05 mitmelon

Hello. Are you going to export the 3306 port from the container to your host? Please see Publish or expose port (-p, --expose) § docker run | Docker Documentation.

pzhlkj6612 avatar May 08 '22 13:05 pzhlkj6612

... because its conflicting with existing mysql on docker

Well, did you install another mysql in the container?

pzhlkj6612 avatar May 08 '22 16:05 pzhlkj6612

Yes, Actually I installed postal mail service which uses mysql too.

mitmelon avatar May 08 '22 17:05 mitmelon