-
Notifications
You must be signed in to change notification settings - Fork 82
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-runtime-bundle: generates incorrect Linux config #76
Comments
On Sat, Nov 05, 2016 at 08:50:09PM -0700, Aleksa Sarai wrote:
I agree that the spec gets very confusing for folks who don't specify However, that is all fairly orthogonal to the OCI image tooling, where
See opencontainers/runtime-tools#24 patching runtime validation to
|
Whether we should eventually drop it is an entirely separate discussion. What's important right now is that we generate |
On Sat, Nov 05, 2016 at 09:26:17PM -0700, Aleksa Sarai wrote:
This sounds good to me. The more runtime stuff we can punt to runtime |
@Crazykev pay attention to this issue for ocid work please |
I'm working on an unpacking library for umoci, because the one in this Aleksa Sarai |
Currently if you take a random Docker image's config file (then translate it to an OCI one using
skopeo
) you'll get aconfig.json
which looks like this:This is wrong. On Linux you have to include the
"namespaces": [ { "type": "mount" } ]
at the very least in order for it to even be possible for you to start inside a container (otherwise your container is running the host context -- not very useful). Preferably we should also add the PID namespace.In addition, we have to add the default set of mounts mandated by opencontainers/runtime-spec#164. Namely we have to add
/proc
,/sys
and/dev
(runC will handle everything else for us).The text was updated successfully, but these errors were encountered: