-
Notifications
You must be signed in to change notification settings - Fork 41
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
Container exits without doing anything. No log, no execution, nothing. #38
Comments
Tried to run with a docker-compose.yml:
and got Error: Cannot find module '/home/node/sudo', without sudo, I get: |
Hi @DAMACANER , |
@AndreySenov Unfortunately. Problem still exists. I pulled image today and have the same situation as in this issue. Containers starts and than stops without any logs. |
This is because the last line of the dockerfile is
The following docker-compose.yaml works fine: firebase-emulator:
image: andreysenov/firebase-tools:latest
restart: always
volumes:
- .:/home/node
command:
- "firebase"
- "emulators:start"
- "--project"
- "MY_PROJECT_ID"
ports:
- "9199:9199"
- "9099:9099"
- "9005:9005"
- "9000:9000"
- "8085:8085"
- "8080:8080"
- "5001:5001"
- "5000:5000"
- "4000:4000" |
You can try adding |
Latest firebase-tools:
Simply just ran:
docker run -p 9199:9199 -p 9099:9099 -p 9005:9005 -p 9000:9000 -p 8085:8085 -p 8080:8080 -p 5001:5001 -p 5000:5000 -p 4000:4000 -v /path/to/project:/home/node --name firebase-tools andreysenov/firebase-tools
as written in https://github.com/AndreySenov/firebase-tools-docker/blob/main/doc/guide/running_firebase_emulators.md
and container exits without doing anything. exit 0, so no error.
huge nothing. my main project is written with Python, but I dont think it is a problem. Help?
The text was updated successfully, but these errors were encountered: