diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 77693fe..2a6b359 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -733,9 +733,8 @@ PORTAINER_AGENT_INSTALL(){ echo -e "${idsCL[Green]}Done${idsCL[Default]}\n" fi echo -e "${idsCL[LightCyan]}Installing Portainer Agent container... ${idsCL[Default]}" - 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 >/dev/null 2>&1 + + 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 >/dev/null 2>&1 echo -e "\n${idsCL[Green]}Portainer Agent has been installed${idsCL[Default]}\n" docker logs portainer_agent