diff --git a/README.md b/README.md index 03e5771..a0bd254 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # Portainer -stack and container yaml configs \ No newline at end of file +stack and container yaml configs + +docker run for portainer agent here: + +docker run -d \ + -p 9001:9001 \ + --name portainer_agent \ + --restart=always \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v /var/lib/docker/volumes:/var/lib/docker/volumes \ + -v /:/host \ + portainer/agent:latest