Intermittently cannot connect to a remote docker engine
Answered
hi.. for some reasons, after several times, i get this message on the docker tool window.
Cannot obtain deployments: io.netty.channel.AbstractChannel$AnnotatedSocketException: Address already in use: no further information: <docker_ip> caused by: java.net.BindException: Address already in use: no further information
but the docker-engine itself runs fine.
also on another matter, is there a way to have the docker plugin NOT validate certificates ?
Please sign in to leave a comment.
>Address already in use
means the port is already being used by another process. Check if there are any hang processes that use this port. try rebooting the system.
>also on another matter, is there a way to have the docker plugin NOT validate certificates ?
it talks about the port in the remote docker machine, NOT my machine, the port is 2375 which is off course used by docker, so why would an intelij plugin report a find exception on a port on another machine which is used by docker?
the issue is that i'd like to specify that the docker engine accept ssl, but i don't want to configure the plugin to check for certificates. but it seems that just leaving the line blank doesn't help .
This error is reported when IDE can not connect the the remote host and port for some reason. Problem could be caused because the container was not correctly shut down and is still running on the port and error is reported when you try connecting next time to this port. Can you connect from the command line when it happens. Are there any errors in log?
>the issue is that i'd like to specify that the docker engine accept ssl, but i don't want to configure the plugin to check for certificates. but it seems that just leaving the line blank doesn't help .
What error do you get? The options are either use self-signed certificate or configure docker to use http https://docs.docker.com/registry/insecure/#deploy-a-plain-http-registry