Mosquitto

Running the MQTT broker Mosquitto.
Note: It is possible to run Mosquitto without using containers, just use apt.

sudo docker run -d --name mosquitto --restart unless-stopped -p 2880:1880 -v "/mosquitto/config:/mosquitto/config" arm32v6/eclipse-mosquitto
  • Add your Mosquitto config file to the path on the groov device that you use and specify under the -v (volume) option.
  • Open port 2880 in your firewall settings through groov Manage.

Top


mySQL (mariaDB)

sudo docker run -d --name mysql -p 3306:3306 -v /var/lib/mysql:/var/lib/mysql -e MYSQL_DATABASE=dbname -e MYSQL_USER=dbduser -e MYSQL_PASSWORD=dbpassword -e MYSQL_ROOT_PASSWORD=rootpassword yobasystems/alpine-mariadb

What I used:

docker run \-d \
  --name=mariadb \
  -p 3306:3306 \
  -v /var/lib/mysql:/var/lib/mysql \
  -e MYSQL\_DATABASE=epicdb \
  -e MYSQL\_USER=opto22 \
  -e MYSQL\_PASSWORD=opto22! \
  -e MYSQL\_ROOT\_PASSWORD=opto22! \
  --restart unless-stopped \
  yobasystems/alpine-mariadb

Top


Samba file sharing

sudo docker run -it --rm --name samba -p 445:445 -e "USER=shellUser" -e "PASS=shellUserPassword" -v "${PWD:-.}/samba:/storage" dockurr/samba
  1. To mount in Windows, right click on ‘My PC’ and select ‘Map Network Drive’.
  2. Enter the following: \\192.168.1.2\Data
  3. Change the IP address for your EPIC/RIO
  4. Note you can look up the Docker usage notes for changing the mount point name. hub.docker.com/r/dockurr/samba
  5. When prompted enter your shell user name and password
  6. Data on the EPIC/RIO will be in /home/<shellUserName>/Data

TIP: Even when mounting on Windows OS, you should observe good Linux file name practices, lowercase, no spaces, underscore or hyphen only, alphanumeric characters only, and no symbols.


Docker Introduction

Docker installation

SSH developer page

EPIC Developer Overview Home

Top