-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to create an adhoc sandbox with a custom Dockerfile? #11
Comments
Based on my reading of the documentation, I would expect that anything that's run in shell, will execute inside the Dockerfile, but that does not seem to be the case.
This returns the sandbox contents as opposed to Docker's shell. In short, I want to deploy a service using Dockerfile and access it through a port. |
Heya! What you're sharing should work, but it requires a restart of the sandbox to apply the dockerfile ( |
I eventually figured out that if I restart it works, but the restart time was way too slow for my use case. Is snapshot something that can be built/deployed faster than using this and then doing restart? |
Yes, absolutely. I would recommend creating a snapshot with the docker image, and then using that when creating new sandboxes. That will allow you to create new sandboxes with that docker image in ~1s, instead of having to wait for the full reboot. |
I have tried:
The text was updated successfully, but these errors were encountered: