I'm trying to go through this part 2 of Docker's tutorial.
Here is my issue:
After creating successfully an image for the app, I try the command line (sudo) docker run --publish 8000:8080 --detach --name bb bulletinboard:1.0
which should run a container and allow me to access the app at localhost:8000.
But when checking out docker ps
, nothing, so I used docker ps -a
to find back my container, and find it with STATUS Exited (1)
.
Then I try docker logs bb
to find out more, and get this:
npm ERR! missing script: start.
This is more than surprising, knowing that it comes from the docs, I don't know what to do next. If anybody has any clue, it would be really nice. Thank you in advance