2022-08-14 11:05:03 +02:00

3 lines
312 B
Plaintext

docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes -v /:/host -v portainer_agent_data:/data --restart always --network= 3
-e EDGE=1 -e EDGE_ID=1 -e EDGE_KEY=2 -e EDGE_INSECURE_POLL=1 --name portainer_edge_agent portainer/agent:4