• 0 Posts
  • 14 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle

  • beek@beehaw.orgtoDocker@programming.devPortainer via SSH?
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    16 days ago

    Not a Docker expert by any stretch, but I believe Portainer can only connect to the socket locally. If you were to bind that socket over a ssh tunnel, you’d be limiting your Portainer to managing a single machine. You’d also be dealing with broken pipe errors every time the connection went idle.

    Given those limitations, it’s much easier (and, I’d argue, more secure) to just spin up a Portainer container on that machine.

    If you absolutely must use SSH, see this thread for the only working solution AFAIK:

    https://github.com/portainer/portainer/issues/431