Changeset - cdf98bd81759
[Not reviewed]
0 1 0
vitalyster - 8 years ago 2017-09-17 10:19:00
vitalyster@gmail.com
Update docker.md
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
documentation/installation/docker.md
Show inline comments
 
@@ -48,13 +48,13 @@ You also have to create persistent directory to store various Spectrum 2 data li
 
	$ mkdir -p /opt/spectrum2/data
 

	
 
## Start Spectrum 2
 

	
 
To start Spectrum 2 on background using Docker, all you have to do is running following Docker command:
 

	
 
	$ docker run --name="spectrum2" -d -v /opt/spectrum2/configuration:/etc/spectrum2/transports -v /opt/spectrum2/data:/var/lib/spectrum2 spectrum2/spectrum2
 
	$ docker run --name="spectrum2" -d -v /opt/spectrum2/configuration:/etc/spectrum2/transports -v /opt/spectrum2/data:/var/lib/spectrum2 spectrum2/spectrum
 

	
 
It will start Spectrum 2 and load the configuration files from `/opt/spectrum`. It also gives the spawned container name `spectrum2`.
 

	
 
### Note
 

	
 
If you are using Docker bridge networking, you should configure your XMPP server to listen on the bridge IP address. Some XMPP servers listen only on 127.0.0.1 by default. Check [Prosody](https://prosody.im/doc/components) documentation for example config.  
0 comments (0 inline, 0 general)