I’ll start:

When I was first learning to use Docker, I didn’t realize that most tutorials that include a database don’t configure the database to persist. Imagine my surprise when I couldn’t figure out why the database kept getting wiped!

  • moonpiedumplings ( 000_panther@programming.dev ) deleted by creator
    link
    fedilink
    English
    arrow-up
    21
    ·
    3 years ago

    A lot of people don’t don’t realize that the port configuration of 127.0.0.1:8080/ localhost:8080 is different than just 8080. One binds to localhost, meaning remote machines can’t access it and the other does not.Combine this with the fact that people don’t realize docker bypasses firewalls like ufw or firewalld, editing ip/nftables rules directly…

    If you use an ip/port search engine like shodan or zoomeye, you can find loads of docker containers that probably weren’t supposed to be on the net.

    • catacomb ( catacomb@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      This one gave me a scare when I realised my containers were completely open on random ports. I wasn’t at all impressed that it bypassed ufw. Definitely a footgun.

      Running a Windows server is more of a nightmare, though. Applications telling Windows Firewall to punch a hole to the internet is extremely common. You either need a hardware firewall or frequent port scans.