We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Checking my shepherd log and see
shepherd_worker.1.jxikrxr1ap9z@homelab | /usr/local/bin/shepherd: line 68: "5": syntax error: operand expected (error token is ""5"") shepherd_worker.1.jxikrxr1ap9z@homelab | xargs: 'echo' terminated by signal 13 shepherd_worker.1.jxikrxr1ap9z@homelab | "docker rmi" requires at least 1 argument. shepherd_worker.1.jxikrxr1ap9z@homelab | See 'docker rmi --help'. shepherd_worker.1.jxikrxr1ap9z@homelab | shepherd_worker.1.jxikrxr1ap9z@homelab | Usage: docker rmi [OPTIONS] IMAGE [IMAGE...]
version: "3.5" services: worker: image: mazzolino/shepherd environment: - SLEEP_TIME="180m" - BLACKLIST_SERVICES="shepherd" - WITH_REGISTRY_AUTH="true" - WITH_INSECURE_REGISTRY="true" - WITH_NO_RESOLVE_IMAGE="false" - IMAGE_AUTOCLEAN_LIMIT="5" - TZ=Asia/Jakarta networks: - shepherd volumes: - /var/run/docker.sock:/var/run/docker.sock:ro deploy: placement: constraints: - node.role == manager networks: shepherd: driver: overlay name: shepherd `
Thanks.
The text was updated successfully, but these errors were encountered:
My fault, run via compose seems doesnt parse env correctly. Run via docker service create work.
Sorry, something went wrong.
No branches or pull requests
Checking my shepherd log and see
shepherd_worker.1.jxikrxr1ap9z@homelab | /usr/local/bin/shepherd: line 68: "5": syntax error: operand expected (error token is ""5"") shepherd_worker.1.jxikrxr1ap9z@homelab | xargs: 'echo' terminated by signal 13 shepherd_worker.1.jxikrxr1ap9z@homelab | "docker rmi" requires at least 1 argument. shepherd_worker.1.jxikrxr1ap9z@homelab | See 'docker rmi --help'. shepherd_worker.1.jxikrxr1ap9z@homelab | shepherd_worker.1.jxikrxr1ap9z@homelab | Usage: docker rmi [OPTIONS] IMAGE [IMAGE...]
is it this because i deploy over compose?
my compose
`
version: "3.5"
services:
worker:
image: mazzolino/shepherd
environment:
- SLEEP_TIME="180m"
- BLACKLIST_SERVICES="shepherd"
- WITH_REGISTRY_AUTH="true"
- WITH_INSECURE_REGISTRY="true"
- WITH_NO_RESOLVE_IMAGE="false"
- IMAGE_AUTOCLEAN_LIMIT="5"
- TZ=Asia/Jakarta
networks:
- shepherd
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
deploy:
placement:
constraints:
- node.role == manager
networks:
shepherd:
driver: overlay
name: shepherd
`
Thanks.
The text was updated successfully, but these errors were encountered: