# kustuta kõik service'd
docker service rm $(docker service ls -q)

# service loomine yaml abil
docker stack deploy --compose-file=portainer-agent-stack.yml portainer

# history limit
docker swarm update --task-history-limit 2

