Run a Open Simulator server in Docker.
174
Once you have successfully pulled the repository run:
$ docker run -d -p 9000:9000/tcp -p 9000:9010/udp --env EXTERNAL_IP=<ip-address> marcsbrooks/docker-opensimulator-server:latest
$ docker exec -it <container-id> /bin/bash
The following command can be executed within the Docker container:
$ service grid-server {start|stop|restart}
In cases where you have an existing server set-up (e.g. configuration) follow the steps below:
$ docker cp OpenSim.ini <container-id>:/usr/games/OpenSim.ini
$ docker cp Region.ini <container-id>:/usr/games/Regions/Region.ini
..
$ docker -it <container-id> /usr/sbin/service grid-server restart
If you have an existing database (MySQL backup *.sql) that you want to use, thereby overriding the installation default, you will need to manually run the server launch operations using the following workflow:
$ docker run -d -p 9000:9000/tcp -p 9000:9010/udp --env EXTERNAL_IP=<ip-address> marcsbrooks/docker-opensimulator-server:latest sleep infinity
$ docker cp <filename>.sql <container-id>:/tmp/opensim.sql
$ docker exec -d <container-id> /usr/games/launch.sh
Please note the configured OpenSim release version since older databases may introduce backwards compatibility issues.
If you fix a bug, or have a code you want to contribute, please send a pull-request with your changes.
This package is maintained under the Semantic Versioning guidelines.
This package is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
docker-opensimulator is provided under the terms of the MIT license
Content type
Image
Digest
sha256:6affdb847…
Size
372 MB
Last updated
about 4 years ago
docker pull marcsbrooks/docker-opensimulator-server