- Add these lines to the config. You can find the setting in
Settings->Docker Engine
"hosts": [
"unix:///var/run/docker.sock",
"tcp://0.0.0.0:2375"
]
- Run below command Ref : testcontainers/testcontainers-java#6045 (comment)
sudo ln -s $HOME/.docker/desktop/docker.sock /var/run/docker.sock
- Restart the docker engine. Done.