Docker Daemon not available when opening a remote session

Hello,

I install the Docker CE for Windows on a 2016 Windows Server.

If I login using RDP to the Windows 2016 Server, the Docker Daemon start. Then from another PC from powershell, I type Enter-PSSession ServerName, then type a Docker command like docker ps, it work fine.

If I logout, It will not work from the other Pc and getting:

docker : error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/containers/json: open
//./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the
docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
+ CategoryInfo : NotSpecified: (error during co…is not running.:String) , RemoteException
+ FullyQualifiedErrorId : NativeCommandError

Is it possible to start the Docker Daemon so it’s available all the time without having to logon to the server?

Thanks,
Alex

3 Likes

any solution for this problem?
thank you