7 lines
285 B
Bash
Executable File
7 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sudo docker stop portainer
|
|
sudo docker rm portainer
|
|
sudo docker pull portainer/portainer-ee:latest
|
|
sudo 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 portainer/portainer-ee:latest
|