portainer icon indicating copy to clipboard operation
portainer copied to clipboard

Containerd support?

Open sprat opened this issue 3 years ago • 16 comments

Is your feature request related to a problem? Please describe. Yes: I want to manage containers and be able to deploy apps remotely on a minimal linuxkit host with only runc & containerd installed.

Describe the solution you'd like I would like to use portainer on a system that has only runc & containerd installed, i.e. without docker or K8S. It makes sense because I don't want to add unnecessary services (reduced attack surface), but still want to manage my containers from a web UI. I would like to use a minimal linuxkit OS on my host, which comes without docker by default

Describe alternatives you've considered I guess I can still install docker in my linuxkit OS, but it increases the attack surface.

Additional context Containerd does not support compose files directly I think, to support the stack feature. But nerdctl (https://github.com/containerd/nerdctl) has implemented compose support, maybe some code could be shared.

sprat avatar Oct 21 '21 11:10 sprat

nice - me too :)

one question tho - are you thinking of running the portainer webUI on that containerd host? In my use cases, I'm running an edge agent (and tailscale), and the portainer web UI is running on a much bigger system.

SvenDowideit avatar Oct 26 '21 00:10 SvenDowideit

Yes, I would like to run portainer on the containerd host.

sprat avatar Oct 26 '21 07:10 sprat

i am trying to run on rancherdesktop which uses containerd, getting below error image

note that nerdctl is aliased to docker

alsolh avatar Nov 06 '21 15:11 alsolh

next one votes for this feature

juniorUniv avatar Dec 12 '21 19:12 juniorUniv

Containernerd support would absolutely be wonderful. I see no reason why Portainer doesn’t support it.

neo-neo1 avatar Dec 28 '21 04:12 neo-neo1

+1

pensatocriminale avatar Jan 19 '22 23:01 pensatocriminale

+1

salapate avatar Jan 25 '22 22:01 salapate

+1

wjgerritsen-0001 avatar Feb 07 '22 10:02 wjgerritsen-0001

+1

Sagit-chu avatar Feb 08 '22 02:02 Sagit-chu

+1

AdsHan avatar Feb 14 '22 14:02 AdsHan

is anyone using any UI alternative? tks

AdsHan avatar Feb 14 '22 14:02 AdsHan

+1

robertdiers avatar Feb 15 '22 11:02 robertdiers

+1

a14stoner avatar Mar 04 '22 08:03 a14stoner

+1

nupis-DanielS avatar Mar 15 '22 13:03 nupis-DanielS

does it work so far? still waiting for updates

DanielSpindler avatar May 12 '22 10:05 DanielSpindler

+1 with simultaneous support of both Linux and Windows containers.

ohault avatar Sep 17 '22 11:09 ohault

+1

dreamMoli avatar Sep 25 '22 04:09 dreamMoli

Any updates on this topic?

LostPoE avatar Nov 28 '22 00:11 LostPoE

+1

LostPoE avatar Nov 28 '22 00:11 LostPoE

+1

rpereira90 avatar Dec 07 '22 16:12 rpereira90

+1

Edge Agent use-cases: (edgeAgent ---> Portainer)

  • the One: daemonset-pod with each node(like the traditianal management to docker, but new for containerd)
  • the Two: just bare-metal deployed to each node, with a tty for host's critical opertations(tty, exec, uploads)

huapox avatar Feb 05 '23 17:02 huapox

+1 for Mac/Containerd support using nerdclt.

ammarisme avatar Mar 27 '23 11:03 ammarisme

we can try this: https://github.com/afbjorklund/nerdctld

huapox avatar May 27 '23 18:05 huapox