From 0cf2cb0c56705d0158c15bd32c3a26d36f4683c4 Mon Sep 17 00:00:00 2001 From: Victor Antonovich Date: Wed, 27 Mar 2024 18:25:25 +0300 Subject: [PATCH] Add Docker info to README --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 588b496..42ccc9e 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,23 @@ To start the **mbusd** service on system boot: # systemctl enable mbusd@.service -Please check systemd documentation for other usefull systemd [commands](https://wiki.archlinux.org/index.php/systemd) +Please check systemd documentation for other usefull systemd [commands](https://wiki.archlinux.org/index.php/systemd). + +Docker: +------- + +**mbusd** can be launched in Docker container with the following command: + +```shell +docker run -d --privileged \ + --name=mbusd \ + -p 502:502 \ + -v /dev:/dev \ + -v /path/to/mbusd.conf:/etc/mbusd.conf \ + 3cky/mbusd +``` + +where `/path/to/mbusd.conf` is the path to **mbusd** config file in the local filesystem. Contributing: -------------