Error running container (Docker) with browser-Sync

Asked

Viewed 294 times

19

I get this warning when I give start in my container with browser-Sync:

[BS] Watching files... (node:1) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 1): Error: Exited with code
3

Any idea?

  • You can post your Dockerfile?

  • I have the same mistake. It is a Warning of your browser saying that you do not trust the source of the site. You can live with this Warning or disable in the browser.

  • Solved the problem?

  • Solved the problem?

1 answer

1

Your application is giving error and stopping and execution at nodejs, as Docker sees that your Node has stopped and has no more processes it drops the container.

try to handle application error

this link can help you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.