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

runsc without docker #103

Open
matti opened this Issue Sep 13, 2018 · 12 comments

Comments

Projects
None yet
5 participants
@matti
Copy link

matti commented Sep 13, 2018

It looks like there are no official docs on how to run gvisor without docker - I found this https://medium.com/@remco_verhoef/sandboxing-with-gvisor-b9979bd424b9 - but I couldn't get the ip.sh stuff working.

I can not test save/restore (#80) without this, see https://gvisor.googlesource.com/gvisor/+/master/g3doc/checkpoint_restore.md for docker incompatibility notes

@iangudger

This comment has been minimized.

Copy link
Member

iangudger commented Sep 13, 2018

What problem did you have with ip.sh?

@matti

This comment has been minimized.

Copy link
Author

matti commented Sep 13, 2018

@iangudger some errors - didnt bother to try again - I really think there should be official docs on this subject

@iangudger

This comment has been minimized.

Copy link
Member

iangudger commented Sep 13, 2018

That medium post was written by @nl5887. I suspect that he would be willing to help you get it working.

@matti

This comment has been minimized.

Copy link
Author

matti commented Sep 22, 2018

I don't understand why this project is so secretive - why can't you document how to use runsc?

@hugelgupf

This comment has been minimized.

Copy link
Member

hugelgupf commented Sep 23, 2018

runsc implements the OCI runtime spec. Any guide you can find online on how to use runc standalone should somewhat apply to runsc as well - if you combine those guides with the information in our README, you should be able to figure out pretty quickly.

The code is all there - no secrets. I speculate lack of time leads to lack of documentation, and the short answers we've been giving.

@nl5887

This comment has been minimized.

Copy link

nl5887 commented Sep 23, 2018

@matti could you send me an email at remco@dutchcoders.io? I'll be happy to help you out, with this issue, and update the documentation accordingly.

@ianlewis

This comment has been minimized.

Copy link
Contributor

ianlewis commented Oct 9, 2018

@matti For the record, I think it's valid to have a doc on running it directly with runsc. I'll work on something in the next couple days.

@matti

This comment has been minimized.

Copy link
Author

matti commented Oct 10, 2018

@ianlewis thank you!

@matti

This comment has been minimized.

Copy link
Author

matti commented Oct 10, 2018

@nl5887 I did send you an email

@matti

This comment has been minimized.

Copy link
Author

matti commented Oct 27, 2018

@ianlewis did you have a chance to work on this?

@ianlewis

This comment has been minimized.

Copy link
Contributor

ianlewis commented Dec 6, 2018

@matti I didn't get a chance to work on this specifically but I did add a docs directory as a WIP place to build out a more scalable set of docs. guides like the one you are looking for could go there

@ianlewis

This comment has been minimized.

Copy link
Contributor

ianlewis commented Apr 6, 2019

@matti FWIW We finally got a website up and wrote a bunch of docs. Hopefully this is something like what you were looking for?
https://gvisor.dev/docs/user_guide/oci/

Let me know if there is anything else you'd like to see added. It's on my list of things to do to write a guide on the networking bits. google/gvisor-website#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.