Docker Networks DNS and How Containers Find Each Other

    12
    4



    Docker Networks DNS and How Containers Find Each Other

    source

    Previous articleAnsible para Windows – Instalando Controller
    Next articleInstall K3s on Ubuntu 22.04 using K3D and Docker – Learning Kubernetes

    4 COMMENTS

    1. Great stuff. Question for you. I'm new to understanding how we can setup a custom localhost name to a docker services (i.e. running wordpress in docker). If I do a netstat execution from my Windows machine and know that port 5859 is free to use, is there anyway from my docker compose file I can assign wph.local:5859 as a custom localhost url to my docker project?

      Does this get extremely complicated in setting up? or can my docker compose file handle this in setting it up?