Docker image for Cobbler.
The main motivation behind this Docker image was to have an image that can be used as a target when running Terraform Cobbler Provider acceptance tests.
Do NOT run anywhere near production, but feel free to fork and create your own production-ready image, and/or contribute back.
docker pull radeksimko/cobbler
In case you prefer to build things yourselves for any reason:
docker build . -t radeksimko/cobbler
docker run -d \
--cap-add SYS_ADMIN \
-p 443:443 \
--name cobbler \
radeksimko/cobbler
docker exec -i cobbler /usr/sbin/init 0
docker exec -ti cobbler wget -O /tmp/ubuntu-14.04-server-amd64 http://old-releases.ubuntu.com/releases/14.04.2/ubuntu-14.04-server-amd64.iso
docker exec -i cobbler 7z x -o/workspace/ubuntu /tmp/ubuntu-14.04-server-amd64
docker exec -i cobbler cobbler import --name Ubuntu-14.04 --breed ubuntu --os-version=trusty --path /workspace/ubuntu
docker exec -i cobbler cobbler sync
Most Docker images avoid systemd when there's a single process to launch inside the container. Unfortunately Cobbler requires more than a single process, hence there's need for a service manager such as systemd inside the container.
Making systemd work inside Docker requires non-trivial changes in the image and the way it runs.
Content type
Image
Digest
Size
163.8 MB
Last updated
over 7 years ago
docker pull radeksimko/cobbler