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

Running it out of the box gives me error at laradock_workspace_1 #2539

Closed
robertwt7 opened this issue Mar 19, 2020 · 2 comments
Closed

Running it out of the box gives me error at laradock_workspace_1 #2539

robertwt7 opened this issue Mar 19, 2020 · 2 comments

Comments

@robertwt7
Copy link

Description:

I'm on windows btw

Followed the guide, clone repo etc, run docker as admin, shared the C drive

got this

PS D:\repos\laradock> docker-compose up -d nginx mysql phpmyadmin redis workspace

Creating network "laradock_frontend" with driver "bridge"
Creating network "laradock_backend" with driver "bridge"
Creating network "laradock_default" with the default driver
Creating laradock_mysql_1            ... done
Creating laradock_redis_1            ... done
Creating laradock_docker-in-docker_1 ... done
Creating laradock_workspace_1        ...
Creating laradock_workspace_1        ... error
WARNING: Host is already in use by another container

ERROR: for laradock_workspace_1  Cannot start service workspace: driver failed programming external connectivity on endpoint laradock_workspace_1 (a401d628bfbe4725ec763958d40028d636043020d9f1c710b317cbb6e91732a8): Bind for 0.0.0.0Creating laradock_phpmyadmin_1       ... done

ERROR: for workspace  Cannot start service workspace: driver failed programming external connectivity on endpoint laradock_workspace_1 (a401d628bfbe4725ec763958d40028d636043020d9f1c710b317cbb6e91732a8): Bind for 0.0.0.0:8080 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
PS D:\repos\laradock> docker ps -a
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS
                            NAMES
9d45e6af677a        laradock_workspace    "/sbin/my_init"          43 seconds ago      Created
                            laradock_workspace_1
0c8dc22d6565        laradock_phpmyadmin   "/docker-entrypoint.…"   43 seconds ago      Up 42 seconds       0.0.0.0:
8080->80/tcp                laradock_phpmyadmin_1
c59a8faf450e        docker:19.03-dind     "dockerd-entrypoint.…"   44 seconds ago      Up 42 seconds       2375-237
6/tcp                       laradock_docker-in-docker_1
ba45adb59498        laradock_mysql        "docker-entrypoint.s…"   44 seconds ago      Up 42 seconds       0.0.0.0:
3306->3306/tcp, 33060/tcp   laradock_mysql_1
200dae91e75c        laradock_redis        "docker-entrypoint.s…"   44 seconds ago      Up 42 seconds       0.0.0.0:
6379->6379/tcp              laradock_redis_1

Assuming that the port conflicts with phpmyadmin? How do I fix that?

Sorry i'm new to docker..

any help is appreciated!

Thanks

@ivand88
Copy link

ivand88 commented Mar 19, 2020

I'm experiencing same thing after I pulled the latest changes. It worked without any issues a while ago.

@robertwt7
Copy link
Author

Apparently the example is showing how to run the docker-compose. its up to us to run it, the issue persist up there is because i try to run both applications at the same port which is laradock_workspace and phpmyadmin. I turned of phpmyadmin and just use heidisql to connect and its fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants