-
Notifications
You must be signed in to change notification settings - Fork 176
[Feature Request] Support downloading service images with "pull" command #789
Comments
Hello @doanac , thank you for filling this feature request. This feature will have sense only if you target a single engine with swarm enabled (which is your case I guess), or which would be the case for a developer running the app on her own host. That being said, this feature looks a lot like |
Good point about multi nodes and contexts. I guess we have a bit of an edge case. I'm happy to put notes on the flag saying its a little weird. And if its really too awkward for your team to carry this change, I think I could find away to keep this patch in our OE recipe for build docker-app. That said- pushing upstream is always more desirable from my end :) |
@doanac Please open a PR with your code changes 👍 |
This allows users in a single node configuration to optionally pull down the service images defined in an app bundle with: docker app pull --service-images [your app] Fixes: fixes docker#789 Signed-off-by: Andy Doan <[email protected]>
This allows users in a single node configuration to optionally pull down the service images defined in an app bundle with: docker app pull --service-images [your app] Fixes: fixes docker#789 Signed-off-by: Andy Doan <[email protected]>
This allows users in a single node configuration to optionally pull down the service images defined in an app bundle with: docker app pull --service-images [your app] Fixes: fixes docker#789 Signed-off-by: Andy Doan <[email protected]>
i dont know if this links to a problem i am having, but basically when i run the application, the stack is created properly, but the service dont fire up because they dont find their respective images. The solution is to manually pull each single image for the individual services manually, so i am wondering ... is it possible to automate this process like it would happen normally in swarm? i cannot understand why this does not happen already |
Description
We've encountered users of our system that like to separate the downloading of an update from the applying of an update. I would like to add an optional flag to the
docker app pull
command to tell it to also pull down each of the app's service images. I have no strong opinion of what the flag would be, perhaps:docker app pull --include-services
?I don't have a complete implementation, but adding logic to pull down the images is pretty simple:
doanac@d808721
The text was updated successfully, but these errors were encountered: