Skip to content

SkyLuke91/Portainer-agent-installation-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Portainer-agent-installation-script

Portainer Agent Auto-Installer

This script creates /usr/local/portainer/, writes a docker-compose.yml file for the agent, and launches it with docker compose up -d.

Run as root or with sudo:

sudo bash install-portainer-agent.sh

Usage

nano install-portainer-agent.sh

  1. Save the script as install-portainer-agent.sh
  2. Make it executable: chmod +x install-portainer-agent.sh
  3. Run with sudo: sudo bash install-portainer-agent.sh
  4. Once running, add the agent endpoint in Portainer UI using the host IP and port 9001

Or You can Use this script to deploy on host directly

curl -fsSL https://raw.githubusercontent.com/SkyLuke91/Portainer-agent-installation-script/main/install-portainer-agent.sh -o install-portainer-agent.sh
chmod +x install-portainer-agent.sh
sudo bash install-portainer-agent.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages