mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 12:34:31 -05:00
9 lines
284 B
Bash
9 lines
284 B
Bash
|
mkdir -p /var/lib/docker/storage/portainer && chmod -Rf 777 /var/lib/docker/storage/portainer
|
||
|
|
||
|
docker run -d -p 127.0.0.1:9010:9000 \
|
||
|
--restart always \
|
||
|
--name portainer \
|
||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||
|
-v /var/lib/docker/storage/portainer:/data \
|
||
|
portainer/portainer
|