With the config transpiler, config files (simliar, but not identical to cloud-config files) can be converted to Ignition JSON format. The purpose of this container is hosting the ct tool.
curl -O docker-compose.yml https://github.com/Cube-Earth/dockerfile-tools-coreos-ct/docker-compose.yml
docker-compose pull
docker-compose run --rm single << EOF
storage:
files:
- path: /home/core/.bashrc
filesystem: root
contents:
inline: |
. /usr/share/skel/.bashrc
alias ll="ls -l"
mode: 0644
user:
id: 500
group:
id: 501
EOF
docker pull cubeearth/tools-coreos-ct
or, if you only need the binary for Alpine, look here.
Content type
Image
Digest
Size
3.9 MB
Last updated
over 9 years ago
docker pull cubeearth/tools-coreos-ct