[GH-ISSUE #101] help with frontail openhab inside docker #73

Closed
opened 2026-03-03 16:04:12 +03:00 by kerem · 1 comment
Owner

Originally created by @kevinshane on GitHub (Oct 4, 2017).
Original GitHub issue: https://github.com/mthenw/frontail/issues/101

hi guys, pretty noob here,
I start to learn docker and successfully running frontail and openhab2 in docker with 2 containers, however i don't know how to monitor openhab2,
docker run --name=frontail --restart=always --net=host -tid -v /opt/openhab/userdata/logs:/log mthenw/frontail
looks nothing and can't visit the web, what's the correct way to monitor the openhab2 log(docker) with a frontail docker? Please help me, thanks
Shane

Originally created by @kevinshane on GitHub (Oct 4, 2017). Original GitHub issue: https://github.com/mthenw/frontail/issues/101 hi guys, pretty noob here, I start to learn docker and successfully running frontail and openhab2 in docker with 2 containers, however i don't know how to monitor openhab2, `docker run --name=frontail --restart=always --net=host -tid -v /opt/openhab/userdata/logs:/log mthenw/frontail` looks nothing and can't visit the web, what's the correct way to monitor the openhab2 log(docker) with a frontail docker? Please help me, thanks Shane
kerem closed this issue 2026-03-03 16:04:12 +03:00
Author
Owner

@mthenw commented on GitHub (Oct 4, 2017):

Hey @kevinshane

I'm not sure how openhab2 works but in your example, you also need to expose ports from the container to the outside world. You can do that with either -p or -P CLI Docker param. Here is more info https://docs.docker.com/engine/reference/commandline/run/#publish-or-expose-port--p-expose.

<!-- gh-comment-id:334163604 --> @mthenw commented on GitHub (Oct 4, 2017): Hey @kevinshane I'm not sure how openhab2 works but in your example, you also need to expose ports from the container to the outside world. You can do that with either `-p` or `-P` CLI Docker param. Here is more info https://docs.docker.com/engine/reference/commandline/run/#publish-or-expose-port--p-expose.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#73
No description provided.