Alpine container of "ct" (Configuration Transpiler for CoreOS Container Linux)
2.7K
Alpine docker container with ct command, the Configuration Transpiler tool for CoreOS.
Use this container to transpile YAML to JSON. Such as "CoreOS Container Linux Configuration" file to "CoreOS Ignition" file.
NOTE: The ordinary "coreos-cloudinit" has been deprecated. If you want to install "coreos-cloudinit" command to verify/validate the "cloud-config" configuration file, use the "Configuration transpiler" tool or this docker image instead.
docker pull keinos/coreos-transpiler
docker run --rm -v $(pwd):/data keinos/coreos-transpiler ct [ARG] [[ARG] [ARG] ...]
NOTE: ARGs are the arguments for ct(the transpiler tool) command. For example to see the help of ct would be:
docker run --rm keinos/coreos-transpiler ct --help
$ ls
cloud-config.yml
$ docker run --rm \
-v $(pwd):/data \
keinos/coreos-transpiler \
ct -in-file /data/cloud-config.yml -out-file /data/ignition.json
$ ls
cloud-config.yml ignition.json
docker image build --tag config-transpiler:latest https://github.com/KEINOS/Dockerfile_of_CoreOS_Transpiler.git
Clone the repo from GitHub.
If you have make installed then just run make to build the docker image.
$ ls
Dockerfile LICENSE Makefile README.md
$ make
...
Successfully built 74db61a427af
Successfully tagged config-transpiler:latest
$ docker image ls | grep config-transpiler
config-transpiler latest 74db61a427af 2 minutes ago 13.5MB
OR build the image in ordinary way:
docker image build --tag config-transpiler:latest .
Content type
Image
Digest
Size
5.6 MB
Last updated
about 7 years ago
docker pull keinos/coreos-transpiler