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

Add Dockerfile #1

Open
alunux opened this issue Sep 30, 2018 · 2 comments
Open

Add Dockerfile #1

alunux opened this issue Sep 30, 2018 · 2 comments

Comments

@alunux
Copy link
Owner

alunux commented Sep 30, 2018

Run mock or livemedia-creator inside docker. We also need a previledge container because those tools need some kernel modules to spin image file.

@gonzalesraul
Copy link

Hi, could you please share more information how to build and run this repo?

You mentioned privileged container, howerver this could be harmful for the host, can you share more details about the modules is required?

@alunux
Copy link
Owner Author

alunux commented Oct 26, 2018

Sorry for long response. This repo just provides kickstart files. It has a python script, but it's just a wrapper to all of commands in the Fedora wiki[1].

About the kernel modules, I still don't have any idea about it (according to the Fedora wiki, we need to install kernel-modules package). Another reason why we need previledge container is livemedia-creator requires a loopback device (/dev/loop*)[2].

For now, I think I will keep using Mock instead of Docker.
[1] https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD#livemedia-creator
[2] http://weldr.io/lorax/livemedia-creator.html#using-mock-and-no-virt-to-create-images

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