View unanswered posts | View active topics It is currently Thu Mar 28, 2024 8:20 am



Reply to topic  [ 5 posts ] 
 TWGS and Docker 
Author Message
Gameop

Joined: Mon Jan 15, 2007 2:41 am
Posts: 342
Unread post TWGS and Docker
I have been toying around with the idea of moving TWGS off my physical server at home to the cloud. A co-worker mentioned that I may want to look at setting up a docker. After some initial research this looks like it could be a very feasible idea. Would be able to run it on any platform. Just curious if any others have looked at running a TWGS service in a docker container?

_________________
Where Chaos Reigns TW Server
chaos-twgs.com:23


Fri Aug 25, 2017 9:50 am
Profile ICQ
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: TWGS and Docker
Some have run TWGS under wine in linux.

option one, Run TWGS under wine in a linux docker container:
http://alesnosek.com/blog/2015/07/04/ru ... in-docker/

Option two, Run in a windows Core docker container:
https://hub.docker.com/r/microsoft/windowsservercore/

Looks like you have to run core edition of windows. Although TWGS can be run as a service, I have no idea how you would install it on server core.

In either case, you are not actually running true "Cross-platform". You are running a windows emulator or virtual machine on top of the other operating system.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Fri Aug 25, 2017 10:56 pm
Profile ICQ YIM WWW
Gameop

Joined: Mon Jan 15, 2007 2:41 am
Posts: 342
Unread post Re: TWGS and Docker
From my understand of the docker container, once it is created, it can be moved to any platform. It would be platform agnostic. And the only thing it would be was the twgs server. I need to do more research still but was just curious if anyone had looked into this.

I have looked at WINE and other "emulators" like ZEN and VirtualBox but they do not offer the same stability that native windows runs. Not sure if this would be any more stable though.

_________________
Where Chaos Reigns TW Server
chaos-twgs.com:23


Sun Aug 27, 2017 8:52 pm
Profile ICQ
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: TWGS and Docker
A Docker container is just a container. Your guest platform is inside, and can be windows, linux, etc... The host platform can also be windows, linux, etc...

So, running docker really isn't much different than running Hyper-V or VMWare, except that docker containers virtualize an application instead of an operating system. The main focus of Windows Server 2016 is containers and nano-server. Multiple containers can run on the same instance of a virtual machine, reducing the overhead involved, but linux containers have to run in a linux image, and windows containers have to run in a windows instance.


Host (Windows Server 2016)
--- Guest (Windows 2016)
------ Container (TWGSv1)
------ Container (TWGSv2)
--- Guest (Linux)
------ Container (Mystic BBS)

Host (Linux or Windows Server 2008/2012)
--- Guest (Windows)
------ Docker (TWGSv1)
------ Docker (TWGSv2)
--- Guest (Linux)
------ Docker (Mystic BBS)

Since a container has it's own registry, it should be possible to run two different versions of TWGS in the same vm, provided they are in separate containers.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Mon Aug 28, 2017 9:56 am
Profile ICQ YIM WWW
Gameop
User avatar

Joined: Tue Nov 19, 2002 3:00 am
Posts: 1050
Location: USA
Unread post Re: TWGS and Docker
I run my private TWGS server as a service on a hardened Win server external of my network. In that way it acts as a cloud. The same server also hosts my firewall via VM. When I read your title I got kinda excited as I thought big data, silly I know but I've been working on a proxy for TWX via python that store game data and allows for further automation/analytics than currently is available.

_________________
Dark Dominion TWGS
Telnet://twgs.darkworlds.org:23
ICQ#31380757, -=English 101 pwns me=-
"This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."


Mon Aug 28, 2017 12:22 pm
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.