Devops Tools in a container for easy, platform agnostic usage
latest: Latest stable version of Devops Tools on ubuntu:latest
This image is built on Quay.io automatically any time the upstream OS container is rebuilt, and any time a commit is made or merged to the main branch. But if you need to build the image on your own locally, do the following:
- Install Docker.
cdinto this directory.- Run
docker build -t devops-tools .
- Install Docker.
- Pull this image from Quay.io:
docker pull quay.io/synominit0/devops-tools:latestor DockerHub:docker pull synominit/docker-devops-tools:latest(or use the image you built earlier, e.g.devops-tools:latestyou can also use podman). - Change to directory with playbooks or plans, etc.
- Run and mount the container from the image:
docker run -it -v ${PWD}:/project:rw devops-toolsNote: Rundocker run -it --net=host -v ${PWD}:/project:rw devops-toolsif you want to use the packer http preseed server - You can now change to the project directory and run the commands inside of the container.
I use this container to have a quick way to run my terraform plans, ansible playbooks etc. on any platform that has docker installed.
Important Note: I use this image suited to my specifications and tasks; The settings and configuration used may not be suitable for your production environments. Use on production servers/in the wild at your own risk!
Created in 2022 by David Pham, DevOps Engineer