Skip to content

Install instructions #88

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

Open
drewwells opened this issue Mar 23, 2018 · 3 comments
Open

Install instructions #88

drewwells opened this issue Mar 23, 2018 · 3 comments

Comments

@drewwells
Copy link

I see mentions that some small changes are required in Docker to use this library, from a Redhat blog post mentioning this project. There's no mentions of how to integrate these in a Docker host. Are there special steps? Running this example on Ubuntu results in an error:

FROM fedora:latest
ENV container docker
RUN yum -y update && yum -y install httpd && yum clean all
RUN systemctl mask dnf-makecache.timer && systemctl enable httpd
CMD [ "/sbin/init" ]
-> % docker run -ti --stop-signal=RTMIN+3 httpd
Failed to mount tmpfs at /run: Operation not permitted
[!!!!!!] Failed to mount API filesystems, freezing.
Freezing execution.
@drewwells
Copy link
Author

Based on this, it appears only projectatomic/docker can use these hooks. https://pagure.io/atomic-wg/issue/233

@rhatdan
Copy link
Member

rhatdan commented Mar 26, 2018

Correct Upstream Docker did not accept patches to automatically run oci hooks.

@rhatdan
Copy link
Member

rhatdan commented Mar 26, 2018

We should be able to get this to work with CRI-O and eventually Podman.

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

No branches or pull requests

2 participants