• 0 Posts
  • 36 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2023

help-circle

  • bizdelnick@lemmy.mltoSelfhosted@lemmy.worldDocker security
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    25 days ago

    I’ve read the article you pointed to. What is written there and what you wrote here are absolutely different things. Docker does integrate with firewalld and creates a zone. Have you tried configuring filters for that zone? Ufw is just too dumb because it is suited for workstations that do not forward packets at all, so it cannot be integrated with docker by design.






  • You will need many iterations of trial and error. No way.

    You can speed up testing your playbook by using molecule or something similar. Don’t touch your working VMs until you get a service set up correctly in your test environment. If you need to set up multiple services in a single VM, you can automate their deployment sequentially, of course.

    P. S. I don’t like Ansible and won’t recommend it because it is full of bugs and non-obvious behavior. However I didn’t investigate alternatives and can’t suggest a better one.



  • Just checked one more time that emails from my server are accepted by Gmail. What am I doing wrong?

    the list of the daemons running in docker-mailserver

    Awful. Who heeds both rspamd and spamassassin simultaneously? fetchmail and getmail6? More than a half of these components are not required to get a working mail server. But I agree that setting up the another half is rather complicated. So I’m planning to give a try to mox when I’ll need to set up a new mail server.











  • bizdelnick@lemmy.mltoSelfhosted@lemmy.worldDocker in LXC vs VM
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    Snapshotting in docker is as easy as docker commit. After that you can back it up with docker save. Then move to another host, but not without downtime.

    However normally you need to backup/move only volumes attached to containers. If that’s not the way how you like to organize your services, you likely don’t need docker.