Comments (7)
+1. I'm having the same problem, the containers are being recreated every SLEEP_TIME interval, even when the image has not changed.
from shepherd.
Can't reproduce (with 17.06.1-ce).
@jcassee It's probably the bug you mentioned. Which will be fixed in 17.09 AFAICS.
from shepherd.
The following error shows up in the logs:
Sleeping "5m" before next update
sleep: invalid number '"5m"'
from shepherd.
@MetalArend That seems to be another problem. I can provoke that failure when running with --env SLEEP_TIME='"5m"'
. So it looks you (mistakenly) double quoted it?
from shepherd.
I had the following code in my docker-compose.yml
file:
environment:
- SLEEP_TIME="5m"
Removing the quotes actually solves it.
from shepherd.
Looks like this is not an issue anymore.
from shepherd.
Okay, closing. Please report back in case this is still a problem.
from shepherd.
Related Issues (20)
- Switch default branch from `master` to `main`
- Can't update some services: no such manifest HOT 9
- This seems like a perfectly valid way to deploy this seeing as it seems a bit inconsistent documentation wise HOT 2
- armhf support HOT 2
- Update containers in other DockerSwarm stacks HOT 1
- Shepherd updates back and forth between sha version and latest HOT 16
- How does it determine if there is an update or not? HOT 5
- latest does not exist or it is not available HOT 10
- Latest not available or does not exist HOT 10
- Error updating service, does not exist or it is not available when using a duplicate registry HOT 2
- Enhanced documentation for Docker Compose HOT 3
- docker swarm 20.10.12 | "docker service update" requires exactly 1 argument. HOT 2
- Image cleanup will occurs only on node running the shepherd container HOT 5
- Can't update services => error pinging v2 registry ?? HOT 1
- Run service update at a fixed time HOT 3
- New OCI manifest issue HOT 2
- Docker Swarm - cannot service with update multiple replicas HOT 3
- Request: Notification on completion HOT 5
- Looking for a new maintainer HOT 25
- Service gets stuck when calling "docker service update" and won't progress HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shepherd.