Add portainer.sh

This commit is contained in:
RomanNum3ral 2024-11-14 21:27:05 +00:00
parent b5752faff2
commit 6c19f973e6
1 changed files with 4 additions and 0 deletions

4
portainer.sh Normal file
View File

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