Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] mosquitto v1.4 docker container complaingin about user "mosquitto

Was it running as root on your Linux machine? Maybe the process is trying to drop permissions?

Check it out with strace and see what happens.

You probably already know this, but the users inside your container are completely separate from the outside ones, so maybe this is something you'd need to add to your Dockerfile (useradd) to make it work.

On Thu, Feb 19, 2015 at 12:08 PM, Avinash Sridharan <avinash.sridharan@xxxxxxxxx> wrote:
After getting mosquitto to work on gentoo, I want to run mosquitto in a docker container. Was able to create a docker container with gentoo as the base. Got mosquitto-v1.4 compiled in the docker container. However when I try launching mosquitto get the following error:
e37aa0da011b src # ./mosquitto

1424375578: mosquitto version 1.4 (build date 2015-02-19 19:52:48+0000) starting

1424375578: Using default config.

1424375578: Opening ipv4 listen socket on port 1883.

1424375578: Opening ipv6 listen socket on port 1883.

1424375578: Error: Invalid user 'mosquitto'.

Do I need to create a user called mosquitto ? Didn't need to do this on my Gentoo build. 

mosquitto-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

david r. albrecht
prefiat llc | cloud powered hardware

Back to the top