ros2_rmp/install_portainer.sh

3 lines
220 B
Bash
Raw Permalink Normal View History

2023-08-09 07:59:49 +00:00
#!/bin/bash
docker volume create portainer_data
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