Creating a remote docker

Hi All,
i have a feeling im overlooking something.

I am creating a production target that is a docker server type...
When I fill out all the items - clicking on test connection i get:

< A lot of plug in listings >

Server:
Cannot connect to the Docker daemon at http://docker.example.com. Is the docker daemon running?
Error Occurred Testing Docker Connection!

I have no idea where "docker.example.com" comes from... All my hosts are pointing to the server next to me in my office that a 192.168.x.x IP address -

Connection - Remote
usage - Production

Docker Remote:

  • Cloud Providers - ssh
  • Use Cloud Server - custom/production-1
  • SSH Key installed for the user in SSH Agents / successful terminal logins.

The server its pointing to runs Portainer
I've searched here for a good while -- with no luck.

Anybody run across this?

Kind Regards
Jeff

Hi Jeff,

The explanation in your post doesn't provide enough information to troubleshoot the issue properly. So, I will start with the basic requirements of a NodeJS project deployed via docker on a remote server.

  1. Docker Desktop - should be available on your local PC
  2. Production server - Running Ubuntu OS (prefereably v24.04 LTS)
  3. Server is accessible via a public IP address - will be necessary to run Traefik (SSL certificates and proxy) and making web project accessible to the public
  4. Domain name pointing to the remote server public IP

Additionally, please provide further information on how you have setup the remote server under resources manager and remote target settings.

Consider the possibility this button refers to the old Docker implementation (Docker Machine) and might not represent the actual success

Hi guptast
Thanks for the reply.

I do have all the items in your list available - right now, i've step back just to get it to deploy on my local server.

I have this:
image

I do have docker locally loaded and on target server too.
right now, im just using the local network to attempt to get it to work.

I guess im expecting what to happen is something alike when i choose one of the predefined cloud server like Digital Ocean. I am expecting since i configured a 'Cloud Provider - SSH' It copy/create and deploy a docker container remotely.

for the production target :

Im really confused is why its using docker.example.com to connect to the remote -- when i put in the host address.

did i grossly misunderstand the user of custom-ssh ??

Thanks
Jeff
edit: fixed the url its connecting to.

yeah - i kind of thought that too. I'm avoiding docker machine since this basically deprecated.

Thanks Jeff