Sign inSign up

davidramirezm30/mosquitto-opi

By davidramirezm30

•Updated almost 8 years ago

Porting official mosquitto & mosquitto-client image running on Orange Pi (ARMv7 32-bit) platform.

Image
0

4.3K

davidramirezm30/mosquitto-opi repository overview

⁠mosquitto & mosquitto-clients

alt text Porting official Eclipse mosquitto package to Docker image running on Orange Pi (ARMv7 32-bit or arm32v7) platform.

⁠Directories

Create three directories for configuration, data and log. To do so, copy and paste.

sudo mkdir -p /docker/mosquitto/config sudo mkdir -p /docker/mosquitto/log sudo mkdir -p /docker/mosquitto/data

⁠Usage

Copy and paste to the console of your Orange Pi or arm 32 bits device.

sudo docker run -itd \
--name="mosquitto" \
--restart on-failure \
-p 1883:1883 \
-v /docker/mosquitto/config:/config \
-v /docker/mosquitto/data:/data \
-v /docker/mosquitto/log:/log \
davidramirezm30/mosquitto-opi

If you want to configure the user and the password, change "USERNAME" to one of your own. sudo mosquitto_passwd -c /etc/mosquitto/pwfile USERNAME i.e. If the USERNAME is orangepi, type sudo mosquitto_passwd -c /etc/mosquitto/pwfile orangepi

⁠Credits

Build Dockerfile base on original from https://github.com/somsakc/docker-mosquitto⁠ git repository.

#Git Repository My repository with the Dockerfile and other stuff https://github.com/davidramirezm30/mosquitto-opi⁠.

Tag summary

Content type

Image

Digest

Size

66.1 MB

Last updated

almost 8 years ago

docker pull davidramirezm30/mosquitto-opi