Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Swarm and docker compose extra "" comillas #2045

Open
devMls opened this issue Oct 26, 2024 · 3 comments
Open

Docker Swarm and docker compose extra "" comillas #2045

devMls opened this issue Oct 26, 2024 · 3 comments

Comments

@devMls
Copy link

devMls commented Oct 26, 2024

Describe the bug

when I deploy a stack with portainer I use

labels:
    com.docker.scope: "WATCHTOWER_MONITORED"

And the cointainers take the label.

In the stack of watchtower I have

  - WATCHTOWER_SCOPE=WATCHTOWER_MONITORED      # Solo monitorea contenedores con este scope

and in the log I see:

time="2024-10-26T09:54:47Z" level=info msg="Only checking containers in scope "WATCHTOWER_MONITORED""
time="2024-10-26T10:00:15Z" level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no

I have try with different combiinations changing label with comillas with slash.... but nothing work.

any idea?

bonus mi cron config is:

  - WATCHTOWER_SCHEDULE=*/5 * * * *  # Se ejecuta cada 5 minutos

google insists that this is 5 mins but logs write session each 5 seconds.

Steps to reproduce

deploy in docker swarm with portainer and introduce the config like description

Expected behavior

detects the containter

Screenshots

No response

Environment

docker swarm
portainer
1 node

Your logs

time="2024-10-26T09:54:47Z" level=info msg="Watchtower 1.7.1"
time="2024-10-26T09:54:47Z" level=info msg="Using no notifications"
time="2024-10-26T09:54:47Z" level=info msg="Only checking containers in scope \"WATCHTOWER_MONITORED\""
time="2024-10-26T09:54:47Z" level=info msg="Scheduling first run: 2024-10-26 09:54:50 +0000 UTC"
time="2024-10-26T09:54:47Z" level=info msg="Note that the first check will be performed in 2 seconds"
time="2024-10-26T09:54:50Z" level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no

Additional context

No response

Copy link

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

@devMls
Copy link
Author

devMls commented Nov 2, 2024

I continue doing test, I suspect that the problem is arround extra characters: "

time="2024-10-26T09:54:47Z" level=info msg="Only checking containers in scope "WATCHTOWER_MONITORED""

but i don't find correct combination for fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@devMls and others