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

Run canga/libguestfs inside a docker container #28

Open
1 of 3 tasks
jfontan opened this issue Nov 19, 2017 · 1 comment
Open
1 of 3 tasks

Run canga/libguestfs inside a docker container #28

jfontan opened this issue Nov 19, 2017 · 1 comment
Assignees

Comments

@jfontan
Copy link
Owner

jfontan commented Nov 19, 2017

libguestfs is not always easy to install in all Linux distributions. It's also not available in other OSs.

  • Create a docker image with cangallo and libguestfs already installed
  • Documentation on how to use the container to manage images
  • Add support to cangallo to use the docker image trasparently
@jfontan jfontan self-assigned this Nov 19, 2017
jfontan added a commit that referenced this issue Dec 4, 2017
@jfontan
Copy link
Owner Author

jfontan commented Dec 4, 2017

Created a helper shell script to run cangallo in a container instead of adding functionality to cangallo itself.

Execute cangallo in a docker container.

NOTE: The commands can only access files from the current and child
directories as relative paths.

Commands:

* update: download the latest container image
* start: start cangallo container
* stop: stop cangallo container
* any other command is executed by cangallo

Usage:

* Start the container
* Run commands
* Stop the container

dcanga update
dcanga start
dcanga add --copy --tag centos7 CentOS-7-x86_64-GenericCloud-1711.qcow2c
dcanga build centos7.canga
dcanga list
dcanga export -c centos7/example example.qcow2
dcanga stop

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

1 participant