From 721208c975f188f961d9812f1e6d6b2e60c0895b Mon Sep 17 00:00:00 2001 From: sthope Date: Sat, 29 Jan 2022 13:21:30 +0000 Subject: [PATCH] Update 'docker_portainer_stacks/portainer/install-portainer-agent' --- .../portainer/install-portainer-agent | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docker_portainer_stacks/portainer/install-portainer-agent b/docker_portainer_stacks/portainer/install-portainer-agent index 606a4dc..cbc5b1c 100644 --- a/docker_portainer_stacks/portainer/install-portainer-agent +++ b/docker_portainer_stacks/portainer/install-portainer-agent @@ -1,15 +1,12 @@ #!/bin/bash -################################### -############ by Sthope ############ -################################### +# ___ _ _ _ __ +# / __|| |_ | |_ ___ | '_ \ ___ +# \__ \| _|| \ / _ \| .__// -_) +# |___/ \__||_||_|\___/|_| \___| + #### USAGE -<<<<<<< HEAD # bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/src/branch/master/docker_portainer_stacks/raw/branch/master/portainer/install-portainer-agent)" EDGE_ID EDGE_KEY -======= -# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/raw/branch/master/docker_portainer_stacks/portainer/install-portainer-agent)" EDGE_ID EDGE_KEY ->>>>>>> ec2f9d52c1c5cdfbb0c70f0e6d62b0bd872e37e7 -# sudo docker run -d \ -v /var/run/docker.sock:/var/run/docker.sock \ @@ -22,5 +19,6 @@ sudo docker run -d \ -e EDGE_KEY=${2} \ -e CAP_HOST_MANAGEMENT=1 \ --label=hide_container=true \ +--label=com.centurylinklabs.watchtower.enable=true \ --name portainer_edge_agent \ -portainer/agent +portainer/agent \ No newline at end of file