You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this on Docker Desktop Version 2.0.0.3 (31259) on macOS Mojave results in a message:
docker: invalid publish opts format (should be name=value but got '5222:5222').
See 'docker run --help'.
This is Docker's standard message when something does not work with container to host port mapping. I examined the issue, and tried to edit every line in the example, and when I removed the localhost, prosody launch worked:
In the readme file, the example for how to run prosody with all ports mapped states the following command:
docker run -d \ -p 5222:5222 \ -p 5269:5269 \ -p localhost:5347:5347 \ -e LOCAL=romeo \ -e DOMAIN=shakespeare.lit \ -e PASSWORD=juliet4ever \ -v /data/prosody/configuration:/etc/prosody \ -v /logs/prosody:/var/log/prosody \ -v /data/prosody/modules:/usr/lib/prosody-modules \ prosody/prosody:0.9
Running this on Docker Desktop Version 2.0.0.3 (31259) on macOS Mojave results in a message:
docker: invalid publish opts format (should be name=value but got '5222:5222').
See 'docker run --help'.
This is Docker's standard message when something does not work with container to host port mapping. I examined the issue, and tried to edit every line in the example, and when I removed the localhost, prosody launch worked:
docker run -d \ -p 5222:5222 \ -p 5269:5269 \ -p 5347:5347 \ -e LOCAL=romeo \ -e DOMAIN=shakespeare.lit \ -e PASSWORD=juliet4ever \ -v /data/prosody/configuration:/etc/prosody \ -v /logs/prosody:/var/log/prosody \ -v /data/prosody/modules:/usr/lib/prosody-modules \ prosody/prosody:0.9
The text was updated successfully, but these errors were encountered: