- CentOS 6 (last available)
- Upstart init system
- SSH server
- EPEL repository enabled
- Default locale set to
- SELinux disabled
- Trigger an immediate shutdown when upstart receives SIGPWR. Find here the script
- Non root user
sudoprivileges (needed for SSH access)
- Extra utilities:
Create a container using
bitergia/centos-6 image is as easy as doing:
docker run -d --name <container-name> bitergia/centos-6
This image has been generated using pre-generated insecure SSH keys. Those keys are the following:
Once retrieved, you can access the container through SSH by running:
ssh -i bitergia-docker bitergia@<container-ip>
In case you would like to use your own SSH keys, you will need to re-generate the image. Detailed information can be found at our Github repository.
Improving the docker experience
We've created a set of utilities and useful scripts for handling docker images. Those utilities are the following:
docker-stopSends the SIGPWR signal to /sbin/init inside the container. We hardly encourage the usage of this script, as it allows the running services to cleanly shutdown avoiding issues.
docker-sshHelps using ssh to log into a running container.
docker-scpHelps using scp to transfer files from/to a running container with a running ssh daemon.
get-container-ipHelper script to obtain the IP address of a running container.
get-docker-hostsHelper script to add the running containers to /etc/hosts or update the existing info.
All those utils and further documentation is available here.
All the information regarding the image generation is hosted publicly on Github.
If you find any issue with this image, feel free to contact us via Github issue tracking system.