Can someone pls explain about the docker.sock & websockets that gets created while installing the rancher agent ?
What is the purpose of mounting -v /var/run/docker.sock:/var/run/docker.sock while installing rancher agent i.e. is this socket being used for launching other rancher services that are launched when installing the rancher agent ? Is it used for managing containers launched in that host or for container communication across hosts?
Websockets are used for host to communicate with the master but do they use the docker.sock begin created or something different.
Pls clarify how docker.sock and websocket are used in rancher agent.