Hi all,
I’ve installed doker desktop on a macos system
now I’ve added this system as a node to a swarm
If I list the nodes on the manager it appears as a “docker-desktop” while the host name of the macos system is different.
That seems to be the name of the utiity-vm that runs docker-desktop. I doubt there is feature to change the name of the utility vm. Last time I tried to join Docker Desktop to a swarm cluster, it didn’t work.
Just an idea which I haven’t tried: I think it is possible to join Docker Desktop as a swarm node, but it could be tricky, or it was at least. Based on your post, it seems you have already done that, but it is true, the name you see is the hostname of the host that the Docker Daemon can see, and it is not your physical host. So maybe if you managed to join Docker Desktop to a swarm cluster, you could manage to run a Docker daemon (dind = Docker in Docker) in a Docker container and set any name fo the container that hosts the custom daemon. If you can make the necessary ports available on the host, it should work.