* Origin: Chinwag | MysticBBS in Docker on a Pi! (21:2/116.1)
I would just like to ask what Docker does , you probably said same thing before but didn't take it in, been on docker.com watch a video but still unsure what it does, is iy a bit like vitual box.
Hi Ian,
I would just like to ask what Docker does , you probably said same thing before but didn't take it in, been on docker.com watch a video but still unsure what it does, is iy a bit like vitual box.
Docker is kinda of like "virtualisation" - like "VMware" - but a little different.
A docker image represents an (installed) application, that only then
needs a place to store the data.
When you start a container for the first time (so there is no data), it
is like you just installed it. When you start it for the second time onwards, its like the App was "stopped" and then "re-started". Starting
an app is as simply as a "docker run ..." command.
Like virtualisation, many applications can run on the same physical
host - and they each think they are the only application on the host
(so they can all open their own port 23 for example). You then "port
map" from the host to the app to connect to each individiual one.
So for example, on my Pi, I have Mystic, MBSE, ANSItex and magicka all running on the same Pi, all believing they are the only app. (So each
is listening on port 23). From the host I map port 10023, 11023, 12023, etc to port 23 on each container.
That's just a short view of it, I use docker extensively (if an app
isnt available as a container I make one) - as it is so easy to move an app between hosts, start up a second instance of an app, etc.
I have some details on my bbs website if you want to have a play. http://chinwag.leenooks.net
okay so this is really a linux/pi program which is ok, tried windows one but I don't have the right ver of win10 tried there was another program
to download but that wouldn't install, but that's cool, linux fine.
what else can you use docker for per app exciept bbs system.
Okay, I did check this link out with your app, and I have a new
raspberry pi so I will try them out if that's okay with you, and you do
a few bbs mystic etc there, did help my understand docker a bit more
okay so this is really a linux/pi program which is ok, tried windows one but I don't have the right ver of win10 tried there was another program
to download but that wouldn't install, but that's cool, linux fine.
Yes, docker is only for Linux apps. It is architecture dependent - so
for example, you cannot run a ARM docker (Raspberry Pi) image, on an
Intel box (x86_64).
But you can run a linux app on a windows box (under docker). I run, install, development on a MAC (with docker) and then deploy on an Intel server running CentOS. (I've even done it with commercial applications where the vendor only supports a distro of Linux)
Building a docker image requires a "recipe" called a Dockerfile - which describes how to build a container. Most times that same Dockerfile can
be used on different architectures. (I build BBS's on x86_64 because
its quicker, then I take the Dockerfile and the Pi/ARM version of the
app and rebuild a ARM image - most times with little change.)
You could also get the Dockerfile and sources and "build" your copy of
the image - it should always work (on the same architecture).
what else can you use docker for per app exciept bbs system.
Any app - but mostly those applications that are a "service". So I run web, php, mail (domino), databases, backup applications as docker containers. My chinwag website is a nginx image (accepting port 80/443) forwarding chinwag URLs to another container running gitlab (my
repository of my development).
Okay, I did check this link out with your app, and I have a new
raspberry pi so I will try them out if that's okay with you, and you do
a few bbs mystic etc there, did help my understand docker a bit more
Please do - and yell out if you get stuck. Docker probably does take a couple of goes to get your head around whats happening...
Please do - and yell out if you get stuck. Docker probably does take a couple of goes to get your head around whats happening...
virtual machine, but not too much. And I still can't keep the difference between an image and a container straight. One is the template and the other a specific instantiation, or something.
One of my servers has the Docker framework installed, and in the repository I see "kalrong/mysticibbs" from 7 months ago, described as "Docker basic install of the mystic BBS software".
Know anything about that? Guess I'll download it and take a look.
Hi Ian,
I would just like to ask what Docker does , you probably said same th before but didn't take it in, been on docker.com watch a video but st unsure what it does, is iy a bit like vitual box.
Docker is kinda of like "virtualisation" - like "VMware" - but a little different.
A docker image represents an (installed) application, that only then
needs a place to store the data.
When you start a container for the first time (so there is no data), it
is like you just installed it. When you start it for the second time onwards, its like the App was "stopped" and then "re-started". Starting
an app is as simply as a "docker run ..." command.
Like virtualisation, many applications can run on the same physical host
- and they each think they are the only application on the host (so they can all open their own port 23 for example). You then "port map" from
the host to the app to connect to each individiual one.
So for example, on my Pi, I have Mystic, MBSE, ANSItex and magicka all running on the same Pi, all believing they are the only app. (So each is listening on port 23). From the host I map port 10023, 11023, 12023, etc to port 23 on each container.
That's just a short view of it, I use docker extensively (if an app isnt available as a container I make one) - as it is so easy to move an app between hosts, start up a second instance of an app, etc.
I have some details on my bbs website if you want to have a play. http://chinwag.leenooks.net
website. I have an intel and Pi image - and I'll update those to A40
Did you ever update your docker images? I'm got your image running on
one of my servers, but it's still A39.
You shouldnt need to "do" anything, it will auto upgrade. (But do a
backup just in case :) IE:
I found a video on YouTube that has helped today to make sense of the ecosystem and now I am pondering how best to set things up so that I get the outcomes I want.
You know how your head hurts a little when you soak up new stuff, that's me today :)
I've been meaning to try and wrap my head around docker as well. Which video did you find?
I kind of find my like a sponge. When my ears start leaking I know I've had enough for the day... ;)
So I am starting to learn Docker at the moment. I'd like to thank Deon
for his patience as I have asked him a number of questions so far too :)
I found a video on YouTube that has helped today to make sense of the ecosystem and now I am pondering how best to set things up so that I get the outcomes I want.
I too am starting to play with Docker a little bit via my Synology NAS. Currently i am running Appache Guacamole on it to RDP/VNC into my Linux machines. I am still completely in the dark about it, as My son set it
up while I sat there and asked 1001 questions.. He loves Docker.. Me
still learning it..
So I am starting to learn Docker at the moment. I'd like to thank Deon for his patience as I have asked him a--- SBBSecho 3.11-Linux
number
of questions so far too :)
I found a video on YouTube that has helped today to make sense of the ecosystem and now I am pondering how best
to
set things up so that I get the outcomes I want.
You know how your head hurts a little when you soak up new stuff, that's me today :)
Happy Saturday from NZ.
ah well we're in good company then.
Yes I have been learning about docker-compose and how to build interconnected containers today. I got some stuff working which was cool but now I am trying to start to figure out how to modify what I got running... head is full tonight!
--- Mystic BBS v1.12 A47 2021/09/29 (Linux/64)
That's great. I held out on Docker for a long time, mainly because container networking can be a little bit rough. I run a lot of voice applications that use a lot of UDP ephermal ports and aren't very fond
of NAT traversal.
With that being said, I migrated my Synchronet BBS to a Docker
container, and I absolutely love it. It abstracts the BBS volume data
from the binaries, so I can upgrade in place to any version at any time.
Enjoy the new bits.
Yes indeed we are in good company.. Eventually, I would like to my my multitude of VM's running my different BBS' and Servers etc off of real hardware and move them to Docker containers and run them from one
place.. Eventually... LOL
Avon wrote to All <=-
So I am starting to learn Docker at the moment. I'd like to thank Deon
for his patience as I have asked him a number of questions so far too
:)
You know how your head hurts a little when you soak up new stuff,
that's me today :)
But, it's really nice to be able to spin up some containers and have
the complete BBS running locally for testing.
https://www.freecodecamp.org/news/the-docker-handbook/
That's a great resource for learning more.
So I am starting to learn Docker at the moment. I'd like to thank Deon
for his patience as I have asked him a number of questions so far too :)
I found a video on YouTube that has helped today to make sense of the ecosystem and now I am pondering how best to set things up so that I get the outcomes I want.
You know how your head hurts a little when you soak up new stuff, that's
me today :)
Yes that for me would be my first move into a VM style of world. At the moment I have a room with 4 PC whirring away.
--- Mystic BBS v1.12 A47 2021/09/29 (Linux/64)
I thought people are switching from docker to podman.
LOL I have 5 PC's plus a NAS running in one room.. On 1 of the PC's I
have 4 VM's running all of my PC/Linux stuff, (Mystic,
Enigma,SynchroNet, and a SynchroNet door server) another has a Commodore
what sort of system specs do you need to do this with, and that's using docker right?
Avon wrote to Oli <=-
Oh no, more stuff to learn... let me get my head around docker
containers first :)
No those aren't running Docker, I am running KVM/QEMU for the VM
systems, that one is just run on a i5 3.5ghz, 32gigs ram.. The Docker setup will be on my NAS, which is a Synology DS920+ Nothing fancy just
32 TB's of HD space.. Just gotta get my feet wet with the Docker
setups...
I worked at a local government IT department, about as dysfunctional a workplace as I've *ever* worked.
There's a yearly review of IT trends from Harvard, I think. We'd go through the current trends, and think "No, not there yet". The previous year. The year before that, and so on.
Our current state of IT was 7 years behind the curve. Hell, we still had
a server room with raised floors and an AS/400!
Avon wrote to poindexter FORTRAN <=-
There's a yearly review of IT trends from Harvard, I think. We'd go through the current trends, and think "No, not there yet". The previous year. The year before that, and so on.
That all sounds rather disheartening. Hopefully it helped guide where
they eventually would end up?
I didn't stay around long enough to find out. Suffice it to say, their technology was the least of their issues.
Sysop: | echicken |
---|---|
Location: | Toronto, Ontario |
Users: | 2,224 |
Nodes: | 6 (0 / 6) |
Uptime: | 209:19:51 |
Calls: | 14,142 |
Files: | 295 |
Messages: | 551,093 |