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

help-circle
  • Melmi@lemmy.blahaj.zonetoSelfhosted@lemmy.worldDocker security
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    6 days ago

    If there’s a port you want accessible from the host/other containers but not beyond the host, consider using the expose directive instead of ports. As an added bonus, you don’t need to come up with arbitrary ports to assign on the host for every container with a shared port.

    IMO it’s more intuitive to connect to a service via container_name:443 instead of localhost:8443












  • Going to other planets would require a total re-architecting of our communications infrastructure anyway. There’s such distance too it’s not really viable to have a shared internet. Even Mars would have up to 22 minute latency at peak. So I don’t think it makes sense to plan our current internet around potential future space colonization.

    Even so, IPv6 is truly massive. We could give a /64 to every square centimeter of the Earth’s surface and still have IPs to spare. Frankly, I think the protocol itself will be obsolete before we run out.