We all know that docker is getting popular day by day. A Lot of organizations also started using docker in their development lifecycle. So it is very important to update ourselves in terms of software development. ie, Docker itself is an automation tool in software development.
If you are new to docker please read our previous blogs related to docker, Then you can easily understand the workflow in docker.
In this blog we can see about top 5 simple and powerful docker extensions,
- Drone CI
Before getting into this extension we should know about CI. CI – Continous Integration. Whenever we start with DevOps the first thing we need to learn is continuous integration. Nowadays, developers expect the code changes should immediately reflect the production or testing server. So to automate this we should enable the CI / CD Pipelines in the development lifecycle.
DroneCI is an open-source application that helps us to deploy our app continuously into our desired server. So DronCI is simple to set up and use. Let’s see how to deploy our NodeJS Application using DroneCI.
We can install it from the Docker extensions marketplace.
kind: pipeline type: docker name: default platform: os: linux arch: arm64 steps: - name: message image: busybox commands: - echo “Hello Captain Canary”! - name: test image: node commands: - npm install - npm test
Here we are running only for testing the nodejs application, We can follow the same step to achieve the deployment also
We all know about docker images, and sometimes we need to work on some open-source docker images. This extension will be useful for the people who are all using open-source docker images.
Using the JFrog docker extension, We can scan any type of docker image, Moslty our internal docker images do not have any harmful configurations, So this is only useful for open-source or third-party docker images.
We can install it from the docker marketplace.
Before using the JFrog, We need an active account from JFrog, So we create an account for free.
After a successful sign in we can choose an Image to scan for vulnerabilities.
We can see that, The image is being scanned for vulnerabilities. It took some time
Oops, our docker image has 25 critical vulnerabilities.
Portainer provides a web-based interface for managing containers, images, volumes, networks, and other Docker-related resources.
This extension is used to manage container hosts, Docker Swarm clusters, and Kubernetes clusters in a much simpler way.
Using portainer we can manage the running containers, Images, and Environments in a uniform UI.
We can quickly take any type of action on the containers and Images.
Disk Usage is an official Docker extension that provides developers with insights into their Docker disk usage. Once installed, this extension thoroughly examines and categorizes the disk space occupied by various entities, such as images, containers, local volumes, and build cache. By utilizing this extension, users can efficiently manage their disk space by removing unnecessary objects.
This optimization process is crucial to free up disk space for critical resources. The Disk Usage extension is readily accessible on the Docker extensions tab and can be easily enabled.
We can reclaim the space by removing unused images, dangling images and build caches. So this disk image extension itself gives some suggestions.