[Support] bashNinja - Dockers; Starbound, Pritunl, Demonsaw, etc.


Recommended Posts

bashNinja's Repository

https://github.com/miketweaver/docker-templates


starbound.png       Starbound-GOG-Server               Docker container to run a GOG Starbound Server.

 

Overview: Support for Docker image Starbound-GOG-Server in the bashNinja repo.

Application: StarboundServer - https://www.gog.com/game/starbound

Docker Hub: https://hub.docker.com/r/bashninja/docker-gog-starbound-server/

GitHub: https://github.com/miketweaver/docker-starbound-gog-server

 

Installation Video:

 

 


Demonsaw-Logo-with-text.png       DemonSaw-Client               Docker container to run a DemonSaw Client with web RDP access.

 

Overview: Support for Docker image DemonSaw-Client in the bashNinja repo.

Application: Demonsaw - https://www.demonsaw.com/

Docker Hub: https://hub.docker.com/r/bashninja/demonsaw-client/

GitHub: https://github.com/bashNinja-dockers/docker-demonsaw-client

 


logo.png       Pritunl                                  Docker to run a Pritunl VPN Server.

 

Overview: Support for Docker image Pritunl in the bashNinja repo.

Application: Pritunl Server - https://pritunl.com/

Docker Hub: https://hub.docker.com/r/bashninja/docker-pritunl/

GitHub: https://github.com/bashNinja-dockers/docker-pritunl


 

Please post any questions/issues, relating to these dockers, in this thread.

Edited by bashNinja
update with new forum theme.
Link to comment

is there any reason you chose this one rather than the (likely more used/useful) Steam one?

 

Yes. I buy from GOG not Steam. I found that no one had built a docker for the GOG version, and all the other ones were dependent on having a Steam Account with the game purchased. I built this docker for myself, but thought it could be useful to others so I shared it here.

 

Honestly, it's not really dependent on the GOG version. It should work with steam as well, as long as you put the right files in the mount point. I've been told the Steam and GOG files are essentially the same.

 

It doesn't have auto updating features, like Michael Lawrence's version, but that's because it was built for GOG and I couldn't see how to easily put in the auto-update features with GOG.

If you use Steam, you can just use CA to auto-convert Michael Lawrence's docker for UnRaid. It should work just fine and be better for you if you use the Steam Version.

Link to comment

Thanks, tried and failed :(

Ok, I took a look at the Steam files on an acquaintances Mac. It looks like when Steam downloads the files it creates it like this:

Starbound/
assets/  giraffe_storage/  koala_storage/  linux32/  linux64/  tiled/       etc....

 

You'll need to rename the

[b]Starbound [/b]

folder to

[b]game[/b]

(all lowercase) and then copy it to the mount point. It worked for me.

 

Note, I'm not really going to support Steam's Starbound since I don't own it, but they're basically the same so you should be able to work with it.

Link to comment
  • 4 months later...

Does this image still work for the latest version of starbound, 1.0.5?

 

Followed the instructions with a gog copy.

Trying to start the docker app, it just turns off immediately.

 

I can't answer your query, but in general, when unsure, better to post some more info, like your mappings, docker run command etc.  Makes it easier for the author to help.  ;)

Link to comment

Does this image still work for the latest version of starbound, 1.0.5?

 

Followed the instructions with a gog copy.

Trying to start the docker app, it just turns off immediately.

 

I have not tested the patches. I can go ahead and update it to do so. Give me a bit to work on it and test.

 

If you want to hit me up on IRC and give me your Docker Logs, that would be very helpful.

 

https://lime-technology.com/wiki/index.php/IRC_Channel

Link to comment

I can't answer your query, but in general, when unsure, better to post some more info, like your mappings, docker run command etc.  Makes it easier for the author to help.  ;)

Oh yeah good idea.

 

Logs

chown: missing operand after '/starbound'
Try 'chown --help' for more information.
/start.sh: line 5: cd: /starbound/game/linux64: No such file or directory
/start.sh: line 7: ./starbound_server: No such file or directory

 

Mappings

/starbound -> /mnt/user/appdata/starbound/

 

Ports are default.

 

Looks like the linux64 directory changed to just linux.

My directory tree

appdata
  starbound
    docs
    game
      assets
      doc
      giraffe_storage
      koala_storage
      linux
      mods
      storage
      tiled
    support

 

Edit:

I could run the ./starbound_server executable natively but had to change

"gameServerBind" : "::",

to

"gameServerBind" : "*",

in starbound_server.config which removes IPv6 support.

Link to comment
  • 5 months later...
  • 4 weeks later...
  • 3 weeks later...

First thanks BashNinja for posting the video and making this unraid docker!

 

I just got this working with starbound 1.3.2a gog version.  Used a windows machine to do everything for install.

Added /mnt/user/appdata/starbound to config like in the video.

Downloaded latest linux starbound.sh on windows box.  Opened it with winrar and copied folders to \\tower\mnt\user\appdata\starbound samba share (substitute your unraid box name or ip address for tower)

I then had to telnet to the unraid box and chown -R 777 the/mnt/user/appdata/starbound directory.

Then the docker it once via docker window on unraid - this generated the config file mentioned.

chown again and edit the server config file as per video/instructions.

Ran docker again and it works.

 

Sorry if this is kind of jumbled or confusing but i wanted to let people know it is working and can be done even if downloaded on windows.

PS i don't know much about linux and it probably shows.  Good news is it didn't take that long. 

 

Off to play starbound with my son :)

 

 

Link to comment
39 minutes ago, FrozenGamer said:

First thanks BashNinja for posting the video and making this unraid docker!

 

I just got this working with starbound 1.3.2a gog version.  Used a windows machine to do everything for install.

Added /mnt/user/appdata/starbound to config like in the video.

Downloaded latest linux starbound.sh on windows box.  Opened it with winrar and copied folders to \\tower\mnt\user\appdata\starbound samba share (substitute your unraid box name or ip address for tower)

I then had to telnet to the unraid box and chown -R 777 the/mnt/user/appdata/starbound directory.

Then the docker it once via docker window on unraid - this generated the config file mentioned.

chown again and edit the server config file as per video/instructions.

Ran docker again and it works.

 

Sorry if this is kind of jumbled or confusing but i wanted to let people know it is working and can be done even if downloaded on windows.

PS i don't know much about linux and it probably shows.  Good news is it didn't take that long. 

 

Off to play starbound with my son :)

 

 

Hey! I'm glad you got it working. 

This command might be better than your chown:

chown -R nobody:users /mnt/user/appdata/starbound

But, honestly, what you did was great! If you have any issues, let me know!

Link to comment
  • 3 weeks later...
23 hours ago, FrozenGamer said:

One more question - does this save the game automatically in my appdata starbound directory?  I just lost my kids mineos saved game because i didn't have a cron job set.  

Hey, I'm really sorry about that! Losing a save game really sucks. 
From my understanding of Starbound this is how it works (this could be completely wrong):

  • character inventory and ship is saved on your local computer
  • Autosaving happens continuously - 3 backups are actually made and pushed out sequentially.

When I played it has always just saved itself and I never had to worry about it. Nonetheless, I'd love to make it more resilient to issues like yours. Give me a few days to dig into this. Also, what cron job are you setting? I can set this within the docker container itself so that it takes effect for everyone that uses the container.

Edit:
I did some quick digging. Yes, it looks like it saves the game files within the appdata folder. This is in the
appdata/starbound/game/storage folder on my box.

root@Tower:/mnt/user/appdata/starbound/game/storage# ls -alh
total 20K
drwxr-xr-x 1 root root  146 Oct 23 09:09 ./
drwxr-xr-x 1 root root   60 Oct 23 09:08 ../
-rw-r--r-- 1 root root 1.3K Oct 23 09:09 starbound_server.config
-rw-r--r-- 1 root root 4.1K Oct 23 09:09 starbound_server.log
-rw-r--r-- 1 root root 5.2K Oct 23 09:09 starbound_server.log.1
drwxr-xr-x 1 root root  112 Oct 23 09:11 universe/

root@Tower:/mnt/user/appdata/starbound/game/storage# ls universe/
tempworlds.index  universe.chunks  universe.dat  universe.lock

 

Edited by bashNinja
Link to comment
  • 2 months later...

Hi,

 

I pulled your pritunl docker image and manually installed it on Unraid. When I start the docker, the initialization process gets stuck. See the docker log as below:

As for now, I cannot access the pritunl web gui. My /config is mapped to unraid appdata folder, and when I checked all the necessary files are created.

I am on unraid 6.4 and running pritunl docker on br0 mode and setting a static ip for the docker to prevent port clashes with my openvpn-as docker.

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 911
User gid: 911
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 10-config: executing...
[cont-init.d] 10-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
No handlers could be found for logger "pyroute2.netlink.rtnl.tcmsg.common"

 

Edited by hus2020
Link to comment

@hus2020
I have not tested this on 6.4 yet, as I haven't upgraded. But it's working as intended for a few other machines I've seen.

That "No handlers could be found for logger" error appears for every user, but it still works just fine. You probably need to check your port mappings. Here's an example of mine:

image.png.51eebbfd6dd3c90c3b2c5d5397f7341c.png

You don't need to add this docker manually, as it is in the community applications as a beta container.

Link to comment
1 minute ago, nuhll said:

So i bought the game via steam and to play it over network i need to buy it again on gog or crack it?

 

WTF.

@nuhll actually, this server will work with the Steam Version. You'll just have to grab the files and put them in the mount point. Unfortunately, I don't own the steam version so I can't provide a guide or official support, but it *will* work, and there are other (non-unraid) docker containers built specifically for the Steam Version.

Link to comment
  • 1 year later...

Hey

 

Could you take a look at Pritunl when you find the time?

I have tried installing it and it keeps throwing all kinds of errors about ports being in use although I tried the docker in br0 as well as other modes and ports are 100% not in use.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.