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.