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

Create a ready docker image #940

Closed
ranrib opened this issue Jun 9, 2020 · 5 comments
Closed

Create a ready docker image #940

ranrib opened this issue Jun 9, 2020 · 5 comments
Labels
status/needs-info Further information is requested

Comments

@ranrib
Copy link

ranrib commented Jun 9, 2020

What I'd like:
I'd like to have a ready docker image, so I'll be able to pull it and explore it without needing to build it from scratch

@jhaynes
Copy link
Contributor

jhaynes commented Jun 9, 2020

Hi @ranrib Can you expand more on what you're asking for?

Our host containers are built and available to pull from ECR.

Bottlerocket proper isn't built to be used inside a container, instead it is meant to be the OS where you run containers (an EC2 instance or VM). Bottlerocket releases are currently available as AWS AMIs that can be launched in EC2. If you have other use cases in mind, let us know!

@jhaynes jhaynes added the status/needs-info Further information is requested label Jun 9, 2020
@ranrib
Copy link
Author

ranrib commented Jun 9, 2020

Oh thanks! That's helpful. Is there any AMI ready with SSH enabled? The one I tried didn't seem to have

@tjkirch
Copy link
Contributor

tjkirch commented Jun 9, 2020

Oh thanks! That's helpful. Is there any AMI ready with SSH enabled? The one I tried didn't seem to have

Hi @ranrib - please see our docs on Bottlerocket exploration - SSH isn't enabled by default for security reasons, but you can enable it, or use other methods of access.

@ranrib
Copy link
Author

ranrib commented Jun 14, 2020

I'm sorry but I'm struggling with any path in the README. I've tried to build an image, but it yields:

cargo make
[cargo-make] INFO - cargo make 0.31.0
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: setup
[cargo-make] INFO - Running Task: fetch-sdk
[cargo-make] INFO - Running Task: fetch-sources
chmod: -R: No such file or directory
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

From the exploration part, I don't really understand any relevant steps to make, It's just overkill for me to set up a k8s cluster just to play and feel this.

All I'm really looking for a way to docker run -it <bottlerocket-image> /bin/bash into without setting a complex setup of the environment.

@mdaniel
Copy link

mdaniel commented Jun 14, 2020

From the exploration part, I don't really understand any relevant steps to make, It's just overkill for me to set up a k8s cluster just to play and feel this.

The discussion in #842 will interest you, as might subscribing to #834

Be forewarned that since this entire OS is centered around essentially booting directly into kubelet, you may not find the run ... /bin/bash experience that you're looking for without some major patches applied. The aws-dev variant might get you pretty close, or serve as a good starting point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/needs-info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants