May Docker Discussion

Feature Requests
  • @julian said in Which is better NodeBB or Discourse?:

    WRT containerization, I honestly really do get the appeal. You can pretend it's all about making your dev environment mimic production, etc... but it all boils down to that "new server feeling", every single time you deploy a container.

    Sysadmins used to brag about their uptime records... now it's a soft sign that you might not be keeping up with the latest security patches 😆

    Is it worth the overhead? That's up to you... I like tinkering with my servers, personally. Pretty soon it'll be a lost art.

    If you love containers, try SmartOS, OmniOSCE, or anything IllumOS based for that matter. They do containers right. And if you really want/need Docker, you can run them in a SmartOS container, for "double hulled" (sticking with the shipping analogy) isolation and security.

    I'd also rank FreeBSD's jails as superior to Docker. Now cgroups done right? That may be a different matter. Rkt? Hmmm... maybe but I've not been keeping up with Linux since systemd bit me in the arse ten times too many (and before any of y'all Lennart lovers lock and load, I've been doing this stuff since the early 80's when VT52's were the cat's meow and we ran BSD on Digital VMS Vax monsters in the SDSC running tape drives - so no, they weren't pebkac errors).

    Peace-- o/

  • @gotwf said in Which is better NodeBB or Discourse?:

    If you love containers, try SmartOS, OmniOSCE, or anything IllumOS based for that matter. They do containers right. And if you really want/need Docker, you can run them in a SmartOS container, for "double hulled" (sticking with the shipping analogy) isolation and security.

    You mean with a Zones deriv? I was a Zones admin circa 2006.

  • @gotwf said in Which is better NodeBB or Discourse?:

    I'd also rank FreeBSD's jails as superior to Docker. Now cgroups done right? That may be a different matter. Rkt? Hmmm... maybe but I've not been keeping up with Linux since systemd bit me in the arse ten times too many (and before any of y'all Lennart lovers lock and load, I've been doing this stuff since the early 80's when VT52's were the cat's meow and we ran BSD on Digital VMS Vax monsters in the SDSC running tape drives - so no, they weren't pebkac errors).

    LXC does a really good job. Simple, straightforward, and really flexible. It's what Docker was built on originally (not any longer.) But gives you a whole OS, not just a single app.

  • @scottalanmiller said in Which is better NodeBB or Discourse?:

    @gotwf said in Which is better NodeBB or Discourse?:

    If you love containers, try SmartOS, OmniOSCE, or anything IllumOS based for that matter. They do containers right. And if you really want/need Docker, you can run them in a SmartOS container, for "double hulled" (sticking with the shipping analogy) isolation and security.

    You mean with a Zones deriv? I was a Zones admin circa 2006.

    Yes. Terminology *Solaris side has evolved a bit:

    Joyent ported KVM to IllumOS so you can get the near bare metal hypervisor - maybe about a decade back? More recently they are porting FreeBSD's BHYVE, and I think may actually be using in production by now? Or very close. They cite far superior performance and maintainability from BHYVE.

    Great support from Joyent and #smartos (freenode). Worth a gander since you've some Solaris experience. Run most of my stuff on Joyent Public Cloud. Nothing on AWS anymore. But then I like building from ground up rather than the one click mentality so those who favor the latter and have the deep pockets to sustain it, may want to stick with AWS. If you're into doing your own private cloud, Joyent has also open sourced Trident. SmartOS, Manatee, Manta, ZFS, DTRACE, Crossbow... what's not to love, eh? Oh, yeah, Kubernetes as well.

    P.S.; Apologies to OP if I've hijacked this a bit. Did not intend to get so far afield from original topic. Mea culpa.

  • @gotwf said in Which is better NodeBB or Discourse?:

    Yes. Terminology *Solaris side has evolved a bit:

    Yeah, so dumb...

    "Before the launch of Solaris Zones in 2005, a Solaris Container was any type of workload constrained by Solaris resource management features. The latter had been a separate software package in earlier history. By 2007 the term Solaris Containers came to mean a Solaris Zone combined with resource management controls. "

  • However, Solaris Containers are gone now, so the current is back to Zones. So it was Containers, then Zones, then Containers, but now it is once again Zones.

    "To simplify terminology, Oracle dropped the use of the term Container in Solaris 11, and has reverted to use of the term Solaris Zone irrespective of the use of resource management control"

  • @gotwf said in Which is better NodeBB or Discourse?:

    They cite far superior performance and maintainability from BHYVE.

    This is one hypervisor that I've yet to have time to play around with. Need to get to it one of these days.

  • Continue, I can fork if need be.

    Version 1 of NodeBB hosting was built using lxc. Worked quite well, although we didn't quite have the domain knowledge to do it well. We ended up reengineering it later on down the line.

  • @scottalanmiller said in Which is better NodeBB or Discourse?:

    However, Solaris Containers are gone now, so the current is back to Zones. So it was Containers, then Zones, then Containers, but now it is once again Zones.

    "To simplify terminology, Oracle dropped the use of the term Container in Solaris 11, and has reverted to use of the term Solaris Zone irrespective of the use of resource management control"

    Heh, Oracle Solaris is dead. I could link Oracle's PR but I think a better read is Cantrill's take on it:

    In any event, I am unsure what terminology IllumOS folks are embracing these days, but, yeah, you got it: Isolation plus resource provisioning.👍

  • @gotwf said in Which is better NodeBB or Discourse?:

    @julian said in Which is better NodeBB or Discourse?:

    WRT containerization, I honestly really do get the appeal. You can pretend it's all about making your dev environment mimic production, etc... but it all boils down to that "new server feeling", every single time you deploy a container.

    Sysadmins used to brag about their uptime records... now it's a soft sign that you might not be keeping up with the latest security patches 😆

    Is it worth the overhead? That's up to you... I like tinkering with my servers, personally. Pretty soon it'll be a lost art.

    If you love containers, try SmartOS, OmniOSCE, or anything IllumOS based for that matter. They do containers right. And if you really want/need Docker, you can run them in a SmartOS container, for "double hulled" (sticking with the shipping analogy) isolation and security.

    I'd also rank FreeBSD's jails as superior to Docker. Now cgroups done right? That may be a different matter. Rkt? Hmmm... maybe but I've not been keeping up with Linux since systemd bit me in the arse ten times too many (and before any of y'all Lennart lovers lock and load, I've been doing this stuff since the early 80's when VT52's were the cat's meow and we ran BSD on Digital VMS Vax monsters in the SDSC running tape drives - so no, they weren't pebkac errors).

    Peace-- o/

    https://www.qubes-os.org/ - Saw this a long time ago haven't kept up with it but it was interesting.

  • @Joykiller said in Which is better NodeBB or Discourse?:

    @gotwf said in Which is better NodeBB or Discourse?:

    @julian said in Which is better NodeBB or Discourse?:

    WRT containerization, I honestly really do get the appeal. You can pretend it's all about making your dev environment mimic production, etc... but it all boils down to that "new server feeling", every single time you deploy a container.

    Sysadmins used to brag about their uptime records... now it's a soft sign that you might not be keeping up with the latest security patches 😆

    Is it worth the overhead? That's up to you... I like tinkering with my servers, personally. Pretty soon it'll be a lost art.

    If you love containers, try SmartOS, OmniOSCE, or anything IllumOS based for that matter. They do containers right. And if you really want/need Docker, you can run them in a SmartOS container, for "double hulled" (sticking with the shipping analogy) isolation and security.

    I'd also rank FreeBSD's jails as superior to Docker. Now cgroups done right? That may be a different matter. Rkt? Hmmm... maybe but I've not been keeping up with Linux since systemd bit me in the arse ten times too many (and before any of y'all Lennart lovers lock and load, I've been doing this stuff since the early 80's when VT52's were the cat's meow and we ran BSD on Digital VMS Vax monsters in the SDSC running tape drives - so no, they weren't pebkac errors).

    Peace-- o/

    https://www.qubes-os.org/ - Saw this a long time ago haven't kept up with it but it was interesting.

    That's a Xen and Linux based system AFAIK. I see it pop up from time to time.

  • @gotwf I'm not sure if it matters if Docker isn't the "best" container solution. Docker has become the defacto standard for containerization. 🤷

  • @djensen47 said in Which is better NodeBB or Discourse?:

    @gotwf I'm not sure if it matters if Docker isn't the "best" container solution. Docker has become the defacto standard for containerization. 🤷

    I think we all love containers as a general thing, it really is the "Docker" situation of which we are all wary.

  • This post is deleted!
  • @djensen47 said in Which is better NodeBB or Discourse?:

    @gotwf I'm not sure if it matters if Docker isn't the "best" container solution. Docker has become the defacto standard for containerization. 🤷

    Please pass some of what you've been smoking, bruh! I know more than a few folks who refuse to use Docker in production. So, I disagree. Maybe a few years back but seems to me it's been loosing much of its shine with an increasing number of clued in types. I have friends who are security gurus at bigco.com. These folks audit financial institutions and such., They refuse to allow 1) systemd (will stay on RHEL6.x until unsupported and then migrate to new platform), and 2) Docker in production - rapid dev use only.

    Following the herd has it's advantages, granted. But..... a few of us rare breed types prefer the pursuit of technical excellence, even if it requires a bit more challenging path.

    But hey, feel free to disagree and enjoy your Docker. Not worth arguing over and I've bailed on Linux for what I assess to be superior, if less popular, platforms. But then I am willing to do some trail maint work from time to time as well. You may well choose different priorities for very valid reasons.

    Peace-- o/

    P.S.; I do find it ironically amusing that the Docker folks stuck with a Solaris container analogy for their product, hoping to leverage Solaris Container buzz. Imitation is the sincerest form of flattery, and yep... Linux is STILL playing catch up after all these years. If you've never had your fingers into the big iron it is considerably easier for Linux to shine.

    P.P.S.; Zones/Container and fbsd jails have also been around for a lot longer, are more mature, and offer a more proven track record. So I feel 'safer' trusting them. I could well be wrong, but a little PPP (Purely Psychological Protection) is not always a bad thing. lol.

  • Sometimes I feel like we're a little behind with our approach to developing NodeBB (that is, not treating Docker like a first-class citizen)...

    Now there's kubernetes 😆 What's next?

  • @djensen47 said in May Docker Discussion:

    Docker has become the defacto standard for containerization.

    And Windows is the de facto standard desktop. It works. Docker works. But is it the best idea? No, it's just what the masses do. The masses rarely make good decisions. Working decisions, but not good ones.

  • @scottalanmiller said in May Docker Discussion:

    @djensen47 said in May Docker Discussion:

    Docker has become the defacto standard for containerization.

    And Windows is the de facto standard desktop.

    But that’s what Docker brings to the table that no one else has done (as consumer friendly) yet: containerization on the desktop.

    For developers, this can save so much time in terms of onboarding, setting up a new machine for development, and consistency.

  • Docker for dev definitely has its applications, I think... the onboarding aspect, as you say.

    However, I'm still kind of against docker in production... containers, sure.

  • @Bri said in May Docker Discussion:

    But that’s what Docker brings to the table that no one else has done (as consumer friendly) yet: containerization on the desktop.

    Does it really do that? I can containerize with Snap, Flatpak, LXC, etc. on the desktop just the same, unless I am missing some feature. What does Docker do that I didn't already have?


Suggested Topics


  • 1 Votes
    6 Posts
    99 Views

    @crazycells Yes, that's the idea... although to ensure that existing mentions don't stop working, I will probably need to convert them all via upgrade script 😬 That's going to be a long-running one

  • Sort by Title

    Feature Requests
    1 Votes
    7 Posts
    128 Views

    @brazzerstop can you share link to your forum so I can get idea of format and number of posts?
    I think can write widget to read all posts, and re-order them.
    I did a small test of this, with the idea that just admin has access to view widget, with click to sort button.

    Technical thoughts:
    What is possible is to read all topicd or posts with write API, e.g.
    https://community.nodebb.org/api/v3/posts/{pid}
    delete them, sort, then rewrite
    But its not best method because new post ids are made.
    I have been wondering whether a bubble sort routine working directly on the database post number field might work. Saves re-writing records, only swapping that field.
    Up till now Ive never managed to get direct Mongo API calls working.
    The NodeBB API however is quite easy to use

  • 0 Votes
    7 Posts
    164 Views

    @phenomlab thanks for your input, i have done it with custom html, css and js

  • 1 Votes
    9 Posts
    721 Views

    @data-dataninja how is this effort going?

  • 0 Votes
    3 Posts
    319 Views

    Yes I'm referring to the Dockerfile. I'm no expert with Docker either, but I must admit that it's extremely handy for creating forums on the fly with different versions at the same time, and saves a lot of time.

    If you're not focused on this tool I completely understand and appreciate you already providing up-to-date docker images, so I'll try to see what I can do myself and share it if it works well. This is possible by manually modifying the dockerfile but I think it's also possible in a more elegant way and easy to use, with env variables 😉