• UNWILLING_PARTICIPANT
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I doubt they even have a root user. Just whatever system packagea are required baked into the image

    • FrederikNJS@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Containers can be entirely without anything. Some containers only contain the binary that gets executed. But many containers do contain pretty much a full distribution, but I have yet to see a container with a password hash in its /etc/shadow file…

      So while the container has a root account, it doesn’t have any login at all, no password, no ssh key, nothing.