Issue
I found an error in the documentation for docker-compose autoupdate section for arm64. Watchtower was giving continuously restarting with an error "exec /watchtower: exec format error". To fix the issue, I had to change the docker-compose file by updating the image to "containrrr/watchtower" from "containrrr/watchtower:latest-dev".
Resolution
The issue is with the docker-compose auto-update section for arm64. After running “docker-compose ps,” it was found that watchtower was continuously restarting. The error in the logs was auto_update_1 | exec /watchtower: exec format error.
To fix this issue, the line in docker-compose should be changed to image: containrrr/watchtower. Then, re-run the command docker-compose up -d, and everything should run smoothly.
Here is the complete code block from the docker-compose file:
    labels:
      com.centurylinklabs.watchtower.enable: "true"
  auto_update:
    image: containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # Update check interval in seconds.
    command: --schedule "0 0 * ? * *" --label-enable --cleanup
    restart: unless-stopped
    depends_on:
      - appsmith
    environment:
      - WATCHTOWER_LIFECYCLE_HOOKS=trueFor more information, review our documentation on how to Schedule auto-updates.