Subj : Docker BBS Setup To : Black Panther From : alterego Date : Sun Sep 27 2020 16:40:36 Re: Docker BBS Setup By: Black Panther to Alterego on Thu Sep 24 2020 08:37 pm Hey Dan! BP> I figured we could bring this conversation into a Docker related area. :) Yup, good idea... :) BP> So, if I'm looking at changing a Windoze computer over to Linux, it would probably be a good idea to create a docker image in a Linux BP> container, and get that set up, have that run on a different computer, then change the OS on the physical computer, and continue to BP> run the docker image on the new setup. Yup, good way to start - infact its the "developers" do stuff, ie: code and test on a laptop, and then deploy on the production server. BP> Let me start with, how do I start setting up the creation of my own image? Would I set everything up on my Linux computer, and then BP> have it copy into the image? Or, does it need to be set up within the image? So in some respects, I would start with an existing image and get to know how that works. Yes, ultimately knowing how you can create your own image is a good skill to have, but sometimes learning to walk before you run gets your further :) (As a point of fact, I generally use an existing image and only create my own images, when I want something a bit bespoke. Generally for common services - "rdbms", php services, web services, etc, I often use pre-built images from docker hub.) So, if you are wanting to run hpt/binkd, then I have an image ready to go. You can get it from registry.leenooks.net/bbs/fidohub:x86_64 (or armv7l for the Pi) and then all you need to do is 'configure' those apps. I have a startup shell script that does all the right mapping (persistent storage, TCP ports, etc) - so all you would need to do is change it for your environment. EG: I have data on my docker containers on the Pi in /srv/docker//data - and the start script in /src/docker//go.sh. Then when you move to your new machine, you just install docker (if it isnt there yet), copy /srv/docker/ and run "go.sh" and you have moved. If you do want to build your own image, you can get my Dockerfile (the build receipe) and supporting addons from my gitlab http://dev.leenooks.net/bbs/fidohub. (You can look at the Dockerfile to see what is run to build the image - and its build with "docker build -t .") So, if you are wanting to run hpt/binkd in a docker image, I would start by pulling my image and playing with it. If you find it is missing things, or you want things added to the image, you can then extend it using my Dockerfile as an example. I can drop you my "go.sh" - its a little long here (because it is configured for all the ports that are needed for fido software). ....лоеп .... All work and no play make Jack a dull boy and Jill a wealthy widow. --- SBBSecho 3.11-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101) .