srbrunoferreira / docker-wordpress

Docker environment for WordPress development with PHP, Apache, phpMyAdmin and MariaDB.
MIT License
2 stars 0 forks source link

Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:3306 -> 0.0.0.0:0: listen tcp 0.0.0.0:3306: bind: address already in use #2

Open 3xploiton3 opened 10 months ago

3xploiton3 commented 10 months ago

i follow all the instruction, i got error

 => [wordpress] exporting to image                                                             1.2s
 => => exporting layers                                                                        1.1s
 => => writing image sha256:308c8110fd84d4d3b8a0a3476dd02e6035822d93df67fa3e98c33b204e85c06e   0.0s
 => => naming to docker.io/library/wordpress:php8.1-apache                                     0.1s
[+] Running 6/6
 ✔ Network wordpress_local_default      Created                                                0.1s 
 ✔ Volume "wordpress_local_phpmyadmin"  Created                                                0.0s 
 ✔ Volume "wordpress_local_wordpress"   Created                                                0.0s 
 ✔ Container mariadb                    Created                                                0.2s 
 ✔ Container wordpress                  Created                                                0.4s 
 ✔ Container phpmyadmin                 Created                                                1.0s 
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:3306 -> 0.0.0.0:0: listen tcp 0.0.0.0:3306: bind: address already in use

how to fix?

OS: Arch Linux x86_64

3xploiton3 commented 10 months ago

already solved that port, with kill all port 3306

next problem, i miss something?

image

srbrunoferreira commented 10 months ago

Hey @3xploiton3. Thank you for using my repository.

I believe you have a container that is already using the 3306 port used by my container.

Try to change the number 3306 to another like 3307.