This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interesting video about docker
#10
In case anyone's interested here's my one liner for launching signalk in docker with permissions needed for host network access (port 8080) and having logs and config in host filesystem, under /var:

I run on port 8080 so as not to clash with grafana.

Code:
docker run -d --name signalk-server --publish 8080:3000 --network="host" --log-opt max-size=10m --log-opt max-file=10 -v --privileged -v /var/signalk:/home/node/.signalk -v /var/signalk/logs:/logs -v /dev:/dev/hostdev signalk-local
Reply


Messages In This Thread
Interesting video about docker - by PaddyB - 2019-10-29, 11:00 PM
Interesting video about docker - by tkurki - 2019-10-30, 06:44 AM
Interesting video about docker - by PaddyB - 2019-10-30, 07:35 AM
RE: Interesting video about docker - by PaddyB - 2019-10-30, 06:54 PM
RE: Interesting video about docker - by tkurki - 2019-10-30, 08:21 PM
RE: Interesting video about docker - by PaddyB - 2019-10-31, 10:20 AM
Interesting video about docker - by tkurki - 2020-02-10, 07:47 AM
RE: Interesting video about docker - by barrymac - 2020-07-04, 07:05 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)