forked from gcgarner/IOTstack
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
the wiki says
To create a username and password, use the following as a template.
$ docker exec mosquitto mosquitto_passwd -b /mosquitto/pwfile/pwfile «username» «password»
Replace «username» and «password» with appropriate values, then execute the command.
when you use that command with the current image, you get
-bash: $: command not found
From what I gather whatever image that's based off doens't have bash. If you do
docker exec -it sh
. then
mosquitto mosquitto_passwd -b /mosquitto/pwfile/pwfile «username» «password»
it seems to work.
Metadata
Metadata
Assignees
Labels
No labels