Problem trying to run an image using Powershell

I have a problem running a docker image to test if it works.

I have successfully built the image but I every time I tried to run a container of the docker image I get

SEVERE: Connection failed.
io.jenkins.remoting.shaded.jakarta.websocket.DeploymentException: Connection failed.
** at io.jenkins.remoting.shaded.org.glassfish.tyrus.container.jdk.client.JdkClientContainer$1.call(JdkClientContainer.java:187)**”

How can I solve this issue?