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

Add docker management bundle #26

Open
neilhwatson opened this issue Nov 3, 2016 · 2 comments
Open

Add docker management bundle #26

neilhwatson opened this issue Nov 3, 2016 · 2 comments

Comments

@neilhwatson
Copy link
Owner

Requirements:

  1. Promise Dockerfile and supporting files from cf-serverd.
  2. If above promise is repaired then 'force' both image build and container restart. Use --restart=unless-stopped for run and --rm=true for images.
  3. If promise 1 is kept then ensure defined image is present and container is running.

How to do the last promise the least invasive way given CFEngine has not docker aware parts? Commands must be used.

Data required:

  1. File src on cf-serverd.
  2. File destination on agent host.
  3. Image and container name.
  4. Image tag (maybe)
  5. Docker capabilities.
  6. Volumes (nice to have)

Possible checks:

  1. docker images -q pcf_dns:latest
  2. docker ps -q --filter=name=pcf_dns
@tzz
Copy link

tzz commented Nov 5, 2016

Separate building, from image management, from running (lifecycle management).

Look at integrating with 1.12 Swarm.

@neilhwatson
Copy link
Owner Author

See #27 For building images.

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

2 participants