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 Modules #1

Closed
chouseknecht opened this issue Mar 10, 2016 · 5 comments
Closed

Docker Modules #1

chouseknecht opened this issue Mar 10, 2016 · 5 comments

Comments

@chouseknecht
Copy link
Contributor

This is the place for discussing the proposed Docker modules. Add suggestions and ideas here.

@jakemcdermott
Copy link

Hey Chris - I'm reading over your proposal for the container module and I'm curious if there are any plans to implement something similar to the count parameter from the current docker module?

As the examples in the proposal indicate, you can certainly start and stop multiple containers using _with_items_ or _with_sequence_. The idempotence of the count parameter, however, lets you easily scale the number of containers up or down through a single playbook or host variable.

Having a dedicated module parameter for the container count also means you can use handlers for the change events that are triggered when the number of containers on a host changes unexpectedly between playbook runs.

@bcoca
Copy link
Member

bcoca commented Mar 12, 2016

@jakemcdermott I'm not sure why that is needed since all of that can still be achieved in a with_ loop.

@gregdek
Copy link
Contributor

gregdek commented Apr 7, 2016

See new Docker module proposals in detail here:

https://github.com/ansible/proposals/tree/master/docker

Please feel free to comment on the proposals here.

@ibotty
Copy link

ibotty commented Apr 7, 2016

I welcome the addition of sane docker modules! I only looked at the things I tend to need (pulling images, managing container lifecycle) and these look way better! Thank you for cleaning up!

Is there an ETA or some way to help (after the ground work is done)?

@bcoca
Copy link
Member

bcoca commented Apr 19, 2016

As per meeting we are going to accept the proposals, will discuss implementation details on the PRs.

https://meetbot.fedoraproject.org/ansible-meeting/2016-04-19/ansible_public_meeting.2016-04-19-19.07.txt

@bcoca bcoca closed this as completed Apr 19, 2016
gregdek pushed a commit that referenced this issue Aug 13, 2016
@abadger abadger added the Agreed label Jan 19, 2017
@mgup73 mgup73 mentioned this issue Jun 14, 2019
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

7 participants