This repository contains Dockerfile with all dependencies and tools required for building Xen.
2.9K
This repository contains Dockerfile with all dependencies and tools required for building Xen.
git clone [email protected]:3mdeb/xen-docker.git
cd xen-docker
docker build -t 3mdeb/xen-docker .
First clone Xen source:
git clone git://xenbits.xen.org/xen.git
Add xen git directory as a volume to docker container and run it:
cd xen
docker run --rm -it -v $PWD:/home/xen -w /home/xen 3mdeb/xen-docker /bin/bash
Note that xen source directory must be inside /home/xen in docker container as we also use .ccache as a volume in /home/xen.
(xen-docker)$ git checkout <version>
(xen-docker)$ ./configure --enable-githttp --enable-systemd
# You can customize the config now if needed
(xen-docker)$ make debball
Result will be placed in $(XEN_SRC)/dist. You will find there:
install.sh shell script which install Xen hypervisor on host machineinstall directory containing Xen components and kernelxen-upstream-<version>.debTo install Xen on host mashine simply run install.sh outside docker.
Note: You need to have a Dom0 kernel for Xen on Your host
To install on a remote machine use the xen-upstream-<version>.deb package.
Xen kernel will be placed in /boot directory in gzip format.
Content type
Image
Digest
Size
1.3 GB
Last updated
almost 6 years ago
docker pull 3mdeb/xen-docker