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

question: how to try SOCI snapshotter with bottlerocket #2788

Closed
tuananh opened this issue Feb 9, 2023 · 6 comments
Closed

question: how to try SOCI snapshotter with bottlerocket #2788

tuananh opened this issue Feb 9, 2023 · 6 comments
Labels
area/core Issues core to the OS (variant independent) status/needs-info Further information is requested type/support User support related issues.

Comments

@tuananh
Copy link

tuananh commented Feb 9, 2023

i see that bottlerocket let you pass a TOML configuration file in as user-data. how about adding additional binaries (soci) into it?

https://github.com/bottlerocket-os/bottlerocket/blob/develop/QUICKSTART-EKS.md#launch

@tuananh
Copy link
Author

tuananh commented Feb 9, 2023

after reading the documentation for a bit, i think what i need to do is

  • create a new package in ./packages folder
  • create a new build variant and build it

can someone please correct me if i'm wrong?

@stmcginnis
Copy link
Contributor

Hi @tuananh! Yes, to add a binary to the system it would need to be included as a package under the packages folder. You wouldn't necessarily need to create a new variant to include it. It could be included in the existing variants.

Can you describe a little bit about what you're trying to do, or what use case you are trying to address with SOCI?

@tuananh
Copy link
Author

tuananh commented Feb 9, 2023

Hi @tuananh! Yes, to add a binary to the system it would need to be included as a package under the packages folder. You wouldn't necessarily need to create a new variant to include it. It could be included in the existing variants.

Can you describe a little bit about what you're trying to do, or what use case you are trying to address with SOCI?

I want to use soci snapshotter with bottlerocket. Given the status of soci snapshotter are not quite ready yet, i think a new variant will make more sense?

@webern
Copy link
Contributor

webern commented Feb 10, 2023

Currently one would need to make changes to a Bottlerocket fork, adding a package as you described. For just trying it out, it would be easier to alter an existing variant than creating a new one (there is a lot of boilerplate).

We are tracking a project for making these types of customizations easier in the future, the issue can be found here: #2669

@stmcginnis stmcginnis added status/needs-info Further information is requested area/core Issues core to the OS (variant independent) type/support User support related issues. labels Feb 14, 2023
@stmcginnis
Copy link
Contributor

Hi @tuananh, just wondering if there was anything else needed with this issue or if it should be closed. Thanks!

@tuananh tuananh closed this as completed Feb 15, 2023
@tuananh
Copy link
Author

tuananh commented Feb 15, 2023

@stmcginnis I'm good now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues core to the OS (variant independent) status/needs-info Further information is requested type/support User support related issues.
Projects
None yet
Development

No branches or pull requests

3 participants