Page 1 of 1
Portainer for docker, swarm and kubernetes
Posted: 26 Sep 2020, 02:30
by Cafsenra
Portainer simplifies container management in Docker, Swarm, Kubernetes, ACI and Edge environments. It's used by software engineers to speed up software deployments, troubleshoot problems and simplify migrations. It can be installed in a docker container and with some hacking (I havent done this yet - it implies to change docker deamon file configuration to enable remote tcp access to docker) manage TNAS docker. However it would be a mutch better to create an native TNAS app. Please consider that and perhaps enable kubernets support for TNAS products.
Re: Portainer for docker, swarm and kubernetes
Posted: 26 Sep 2020, 02:34
by Cafsenra
Portainer is provided as open core software under the zlib license, Portainer CE 2.0 is 100% free with its source code readily available on GitHub.
https://www.portainer.io/portainer-ce/
Re: Portainer for docker, swarm and kubernetes
Posted: 26 Sep 2020, 11:42
by TMroy
Installing Portainer's image in Docker is a very common usage, why you need another app to do that?
Re: Portainer for docker, swarm and kubernetes
Posted: 26 Sep 2020, 21:49
by Cafsenra
You are right! We can install Portainer in a docker container. However, Portainer can not comunicate with TNAS docker deamon. An app could be usefull to enable https access to docker deamon on TCP port 2376 or less secure HTTP access on TCP port 2375. I believe you should provide this option to the users. It doesnt need to be an new app. A option to enable http or https access to docker would be enought.
Re: Portainer for docker, swarm and kubernetes
Posted: 02 Oct 2020, 02:16
by Cafsenra
I managed to connect to local daemon by run installation of docker container on command line as root, now I can manage docker containers and images on Portainer. Guess that installing Portainer as admin in user interface doesn't work!
Re: Portainer for docker, swarm and kubernetes
Posted: 07 Oct 2020, 18:29
by Luisete
Could you explain how to connect and install Portainer? Thanks and best regards!
Re: Portainer for docker, swarm and kubernetes
Posted: 07 Oct 2020, 20:16
by TMroy
you can install portainer from docker.
Re: Portainer for docker, swarm and kubernetes
Posted: 11 Oct 2020, 04:11
by Luisete
Portainer with Docker no Connect!
Re: Portainer for docker, swarm and kubernetes
Posted: 03 Dec 2020, 12:24
by miji22
Luisete wrote: ↑07 Oct 2020, 18:29
Could you explain how to connect and install Portainer? Thanks and best regards!
in the portainer container, I added the following volume mapping:
/var/run/docker.sock --> /var/run/docker.sock
That allowed me to manage local docker instance with portainer.