The docker hangs after configuring the remote access using remote access instruction via the daemon.json
file:
"hosts": ["unix:///var/run/docker.sock", "tcp://127.0.0.1:2375"]
The logs:
time="2024-05-13T22:28:34.825476083Z" level=info msg="Starting up"
time="2024-05-13T22:28:34.826774333Z" level=debug msg="Listener created for HTTP on fd ()"
time="2024-05-13T22:28:34.826876708Z" level=warning msg="Binding to IP address without --tlsverify is insecure and gives root access on this machine to everyone who has access to your network." host="tcp://127.0.0.1:2375"
time="2024-05-13T22:28:34.827052208Z" level=warning msg="Binding to an IP address, even on localhost, can also give access to scripts run in a browser. Be safe out there!" host="tcp://127.0.0.1:2375"
time="2024-05-13T22:28:34.827088000Z" level=warning msg="[DEPRECATION NOTICE] In future versions this will be a hard failure preventing the daemon from starting! Learn more at: https://docs.docker.com/go/api-security/" host="tcp://127.0.0.1:2375"
time="2024-05-13T22:28:35.831222167Z" level=debug msg="Listener created for HTTP on tcp (127.0.0.1:2375)"
time="2024-05-13T22:28:35.835430750Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
failed to load listeners: can't create unix socket /var/run/docker.sock: device or resource busy
Does anyone know how to fix it?