1
0
mirror of /repos/mqtt-broker-docker-image.git synced 2025-12-30 08:01:36 +01:00

Simplifing documentation and add my email address to dockerfile

This commit is contained in:
Vojta Orgoň 2015-02-21 12:18:56 +01:00
parent e0b7164e16
commit 3f7a7b54c6
2 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,6 @@
FROM phusion/baseimage:0.9.14
MAINTAINER Vojta Orgoň
MAINTAINER Vojta Orgoň (villlem@gmail.com)
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh

View File

@ -3,14 +3,10 @@ MQTT broker docker image
MQTT broker docker image. Based on phusion/baseimage and mosquitto
Build is simple:
``docker build -t mqtt-broker .``
Run image using:
``docker run -d -p 1883:1883 --name=mqtt-broker mqtt-broker``
``docker run -d -p 1883:1883 --name=mqtt-broker villlem/mqtt-server:latest``
Or use "official" image from dockerhub:
Or use only clients:
``docker run -d -p 1883:1883 --name=mqtt-broker villlem/mqtt-broker:latest``
``docker run -ti --rm villlem/mqtt-server:latest mosquitto_sub -h some.mqtt.server -t '#'``