Passer au contenu principal

Portainer Docker

installation de Portainer :

$ docker volume create portainer_data
$ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

installation du repo de Templates Portainer :

https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/template.json

https://yangkghjh.github.io/selfhosted_store/unraid/templates/portainer/template.json

installation de Portainer 2.0

docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

 

alias mntnas="sshfs garfieldtux@192.168.1.45:/ /mnt/NAS -o nonempty,port=22,idmap=user,gid=125,allow_other,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3"