Fixed warnings in run-broker.sh

This commit is contained in:
B.J. Dweck 2020-10-16 00:10:03 +02:00
parent 96d7e00830
commit 72be3ce411

View File

@ -1,3 +1,8 @@
#!/bin/bash
docker run -it --rm --user $(echo $UID) --name mosquitto -p 8883:8883 -v $(pwd)/broker-config:/mosquitto/config eclipse-mosquitto
docker run -it --rm \
--user "$UID" \
-p 8883:8883 \
-v "$(pwd)/broker-config:/mosquitto/config" \
--name mosquitto \
eclipse-mosquitto