Transport TAR ball from the download server to for instance /home/colyseus
# To create the tarball:    docker ps -a .. Find the docker containerID :   docker export ccbdef2e1c5e > /home/docker_colyseus_2020_02_16_3.tar
# this is the image file for the Docker. The OS layer, but you need also the software
# that is in colyseus_02_16_06_47_51.tar.gz that is created from the /home/root/colyseus-hxjs-examples diretory
mkdir /home/colyseus
# cp docker_colyseus_2020_02_16_3.tar.gz /home/colyseus/.
cd /home/colyseus
gzip -d colyseus_02_16_06_47_51.tar.gz
gzip -d docker_colyseus_2020_02_16_3.tar.gz
cat docker_colyseus_2020_02_16.tar  | docker import - colyseus
tar xvf colyseus_02_16_06_47_51.tar
docker run --name=colyseus -h colyseus --dns=8.8.8.8 -p 149.210.227.113:34321:3567  -v /home/colyseus:/home/extern -t -d colyseus  sh -c "cd /home/extern/colyseus-hxjs-examples && ./run.sh && sleep infinite"
# vi /etc/sysconfig/iptables
# ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:34321
# service iptables restart
# propably you run into this : iptables: No chain/target/match by that name
# solution: service docker restart



#
## Debug session
##docker run --name=colyseus -h colyseus --dns=8.8.8.8 -p 149.210.227.113:34321:3567  -v /home/colyseus:/home/extern/  -t -d colyseus /bin/bash
##docker exec -ti colyseus /bin/bash
##  cd /home/extern/colyseus-hxjs-examples; ./run.sh

