An image that contains DevOps CLI tools
1.3K
This image contains mostly CLI DevOps tools. Some of them could also be useful for sysadmin/network related tasks.
The Dockerfile used is available here
The list of tools that this image contains is:
[General]
[Network]
[Cloud]
[IaC]
[Orchestration]
The reason this image was created is that only Docker is needed on a system, and then all the tools contained in the image can be utilized from within a container.
To download the latest version of the image:
docker pull cspyridakis/devopstools:latest
There are 2 options to utilize the image.
Navigate to the directory of your project and run
docker run -it --rm -v $(pwd):/app -w /app -u 1000:1000 devopstools
This will run the container, allowing you to create and remove files and use the internal tools.
Append the following function to the bottom of your ~/.zshrc or ~/.bashrc file:
function devopstools(){
docker run -it --rm \
-v "\$PWD":/app \
cspyridakis/devopstools:latest
}
Refresh your configuration (run source ~/.bashrc or source ~/.zshrc).
Then, from any project directory, simply run devopstools.
Note: If you already have AWS credentials on your machine under ~/.aws/, you can also bind mount this directory:
-v "$HOME/.aws":/home/devops/.aws:ro
A more complete function that could be used into your .zshrc/.bashrc would be:
function devopstools(){
docker run -it --rm \
-v "$PWD":/home/apps/ \
-v "$HOME/.aws":/home/devops/.aws:ro \
-v "$HOME/.ssh":/home/devops/.ssh:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
cspyridakis/devopstools:latest
}
Content type
Image
Digest
sha256:39fcf1731…
Size
975.8 MB
Last updated
over 1 year ago
docker pull cspyridakis/devopstools