Add docker/portainer.sh

This commit is contained in:
Sthope 2024-02-25 14:25:48 +01:00
parent bcb8726292
commit e91eb5090a

9
docker/portainer.sh Normal file
View File

@ -0,0 +1,9 @@
#! /bin/bash
docker run -d \
-p 8000:8000 \
-p 9443:9443 \
--name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data portainer/portainer-ce:latest