-
Notifications
You must be signed in to change notification settings - Fork 477
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
docker-compose up command doesn't work #747
Comments
@alizeinodin Why are you happy to use the |
I have an external network in Also, It's clearly that I was created this network and I can run my application by
My docker compose file: networks: |
@alizeinodin The error message seems to be pretty clear? If you’re trying to use a network that was created outside of the Docker Compose (Sail) project, you therefore need to mark it as Why are you creating networks outside of your Docker Compose/Sail project in the first place? It kinda defeats the point of using containerisation if you’re not going to actually define all of the services contained within. |
Sail Version
1.37.1
Laravel Version
11.3.1
PHP Version
8.3
Operating System
Linux
OS Version
22.04
Description
When I use the
./vendor/bin/sail up
command to run my application, everything works, but I want to run it using thedocker-compose up
command. When I usedocker-compose up—d,
some problems occur.This second problem occurs because Sail creates a new user gives it the right permissions and runs commands by this user, but usually, we use
docker-compose
commands to deploy applications. I expect this command to work properly.Steps To Reproduce
./vendor/bin/sail build
docker-compose up -d
The text was updated successfully, but these errors were encountered: