Tutorial "Bundle a Node.js app within a rock" does not work
hd9 opened this issue · comments
Bug Description
In the tutorial Bundle a Node.js app within a rock, just after the docker run
command, one is instructed to navigate to http://localhost:8000. You should see a blank page with a “Hello World from inside the rock!”.
However, if you're following the tutorial as instructed from a Multipass VM, this fails as the app is only accessible from inside the Multipass VM, not from the host itself.
To Reproduce
- Run the tutorial inside a Multipass host as instructed by the article
- Try to open your web browser and navigate to http://localhost:8000
Error:
This site can’t be reached
localhost refused to connect.
The documentation should either instruct to expose the service on the Multipass host or recommend to open another shell into the Multipass VM and curl http://localhost:8000
Environment
See Bundle a Node.js app within a rock
rockcraft.yaml
Available in the link above
Relevant log output
Available in the link above
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3113.
This message was autogenerated