These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
308 B

  1. #!/bin/sh
  2. docker stop portainer_agent
  3. docker rm portainer_agent
  4. docker pull portainer/agent:latest
  5. docker run --name portainer_agent \
  6. -p 9001:9001 \
  7. --restart unless-stopped \
  8. -v /var/run/docker.sock:/var/run/docker.sock \
  9. -v /var/lib/docker/volumes:/var/lib/docker/volumes \
  10. -d portainer/agent:latest