Docker.DotNet
Docker.DotNet copied to clipboard
Connection failed when converted a console application to docker container
**What version of Docker.DotNet?: 3.125.5

Steps to reproduce the issue:
- Create a c# console application with the latest nuget package
- Created a Docker file and build a docker image
- Ran the docker image.
What actually happened?: I have built a console application that wanted to restart all the stopped containers. When i try to run it from visual studio, it works fine. But when i try to dockerize the application and try to run it as a container, it throws out the error Connection failed or TimeOutException
What did you expect to happen?: Is it possible to connect to local docker daemon, if the console application is deployed as a docker container ?