You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
Inferit MSVSphere Docker images
This project contains configuration files and tools for building official MSVSphere Docker images.
Build requirements
In order to build an MSVSphere Docker image you need an MSVSphere system with the following packages installed:
$ sudo dnf install -y anaconda-tui lorax tar
You may also need to change SELinux mode to permissive.
Usage
The build-image.sh tool must be executed from a root user
shell. See it's --help
for a list of supported arguments.
Here is an MSVSphere 9 default image build example:
$ sudo ./build-image.sh --release 9 --type default --output ./result
The result will be a built rootfs-tarball, a generated Dockerfile and corresponding build logs:
$ ls result/9-default/ -1
Dockerfile
logs
msvsphere-9-default.tar.xz
References
- Docker documentation: Create a base image
- RHEL System Design Guide: Kickstart Reference guide
- Opencontainers image-spec annotations/labels
License
Licensed under the MIT license, see the LICENSE file for details.