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 App Container / Rocket Builder #1905

Closed
nchammas opened this issue Feb 7, 2015 · 10 comments
Closed

Add App Container / Rocket Builder #1905

nchammas opened this issue Feb 7, 2015 · 10 comments

Comments

@nchammas
Copy link
Contributor

nchammas commented Feb 7, 2015

There is a new App Container specification.

The spec already has a few runtime implementations, the most prominent of which is Rocket, from the CoreOS team. Another implementation is jetpack.

If I understand correctly, the promise of the appc spec is that once you build an image according to that spec, any number of runtimes which implement the spec can run the image.

It would be great if Packer could build images according to this spec as well.

Given the App Container spec's early state, I understand this request may not be actionable for a while.

@kelseyhightower kelseyhightower self-assigned this Feb 9, 2015
@kelseyhightower
Copy link
Collaborator

@nchammas I had a chat with @mitchellh about this during FOSDEM. I'm going to hack on this, expect a PR soon.

@kelseyhightower
Copy link
Collaborator

@mitchellh Let me know if you've already started working on this one.

@kelseyhightower
Copy link
Collaborator

The first open question I have is regarding the starting point for building an ACI. Currently there are no "base" ACIs for ubuntu, fedora, etc. We have a couple of options here:

  • bootstrap the OS and run the provisioners in a chroot
  • Use the host OS and package up the dirs that need to make up the final ACI.

I would love some community feedback here before I head down the wrong path.

@AntonioMeireles
Copy link

@kelseyhightower fwiw i 'd vote for the 1st option, for full reproducibility/reliability.

@rasschaert
Copy link

Another +1 for the first option.

@blalor
Copy link
Contributor

blalor commented Dec 4, 2015

+1

@blalor
Copy link
Contributor

blalor commented Dec 4, 2015

Bootstrapping is unfortunately rather distribution-dependent. For Fedora-based distributions, ami-creator (my fork) works well, and I use it for building base AMIs that are then fed into Packer. I'm also using it to build base ACIs. I believe there are similar tools for Debian-based distributions. It really would be nice to somehow have this built into Packer, but I understand that's a hard problem to solve. At a minimum, having an ACI builder that could take an image URL as a starting point would be useful.

@nchammas
Copy link
Contributor Author

nchammas commented Jun 4, 2016

A lot has changed in this space since I first opened this issue. Is this still relevant?

@blalor
Copy link
Contributor

blalor commented Jun 6, 2016

I think it is. There's first-class support for Docker in Packer, so it'd be nice to see first-class support for building ACIs. acbuild exists today as a tool for building ACIs outside of Packer.

@mwhooker
Copy link
Contributor

Happy to look at PRs, but this isn't something we're planning to implement for 1.0. Please see the mailing list for more details on 1.0.

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants