Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Dec 22, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@3xploiton3
Copy link

3xploiton3 commented Dec 22, 2023

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
Copy link
Author

already solved that port, with kill all port 3306

next problem, i miss something?

image

@srbrunoferreira
Copy link
Owner

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.

@srbrunoferreira srbrunoferreira self-assigned this Dec 23, 2023
@srbrunoferreira srbrunoferreira added the question Further information is requested label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants