Skip to content

Conversation

@crosbymichael
Copy link
Member

This integrates the new oci spec and runc for the current containerd version being consumed by (docker/moby)

After running vendor I have no clue but i removed a bunch of stuff so...

@mlaventure
Copy link
Contributor

Doesn't build, you need to re-run vndr on the last commit I think

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael crosbymichael force-pushed the runc-master branch 3 times, most recently from 4c45905 to 34f9129 Compare April 27, 2017 21:07
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Copy link
Contributor

@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@crosbymichael
Copy link
Member Author

Don't merge yet, going to gets in docker now

@mlaventure mlaventure changed the title Update to runc master(rc5) for v0.2.x branch [DO NOT MERGE] Update to runc master(rc5) for v0.2.x branch Apr 27, 2017
}
process.Capabilities = r.Capabilities
// for backwards compat in the API set eibp
process.Capabilities = &ocs.LinuxCapabilities{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @justincormack

can you take a look here at the changes for caps?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

(currently thinking of a separate security-opt in Docker for ambient, will do later)

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
p.Done()
}()
return nil
}()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we have a synchronization between this go routine and containerd-shim? we should make sure we've got master before starting container process, otherwise some container process's output might be lost in race conditions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, i think you are right, i'm going to have to add some sync around here, i'm seeing some issues in docker but having been able to replicate with containerd only right now

@crosbymichael crosbymichael force-pushed the runc-master branch 2 times, most recently from d67913e to bdc6433 Compare May 3, 2017 20:33
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Make sure we close stdin after the copy returns so that containers that
issue a CloseStdin exit and all the io is closed when the write side of
the fifo is closed.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael crosbymichael changed the title [DO NOT MERGE] Update to runc master(rc5) for v0.2.x branch Update to runc master(rc5) for v0.2.x branch May 3, 2017
@crosbymichael
Copy link
Member Author

@mlaventure this should be good to go for a final review and merge

Copy link
Contributor

@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one issue so CI can run properly :)

.travis.yml Outdated

env:
- SECCOMP_VERSION=2.3.1 RUNC_COMMIT=51371867a01c467f08af739783b8beafc154c4d7
- SECCOMP_VERSION=2.3.1 RUNC_COMMIT=b6b70e53451794e8333e9b602cc096b47a20bd0f
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't match the Dockerfile :p

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael
Copy link
Member Author

@mlaventure fixed

Copy link
Contributor

@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ping @hqhq if you don't mind having a look too :)

@hqhq
Copy link
Contributor

hqhq commented May 4, 2017

LGTM

@hqhq hqhq merged commit d24f39e into containerd:v0.2.x May 4, 2017
@crosbymichael crosbymichael deleted the runc-master branch May 4, 2017 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants