Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but wonāt spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
Pre
- Step#1 ā Register and Validate your account at bestDevOps.com ā https://www.bestdevops.com/wp-login.php?action=register
- Step#2 ā Login
- Step#3 ā Create a POST on following questions
Q1. Title ā List of 20 popular commands of docker
docker āversion
-This command is used to get the currently installed version of docker
docker pull
-This command is used to pull images from the docker repository(hub.docker.com). Usage: docker pull
docker run
-This command is used to create a container from an image..Usage: docker run -it -d
docker ps
-This command is used to list the running containers.
docker ps -a
-This command is used to show all the running and exited containers
docker exec
-This command is used to access the running container..Usage: docker exec -it bash
docker stop
-This command stops a running container..Usage: docker stop
docker kill
-This command kills the container by stopping its execution immediately.
The difference between ādocker killā and ādocker stopā is that ādocker stopā gives the container time to shutdown gracefully,
in situations when it is taking too much time for getting the container to stop, one can opt to kill it
Usage: docker kill
docker commit
-This command creates a new image of an edited container on the local system.
Usage: docker commit
docker login
-This command is used to login to the docker hub repository
docker push
-This command is used to push an image to the docker hub repository
docker images
-This command lists all the locally stored docker images.
docker rm
-This command is used to delete a stopped container..Usage: docker rm
docker rmi
-This command is used to delete an image from local storage..Usage: docker rmi
docker build
-This command is used to build an image from a specified docker file.
Q2. Title ā How to configure SMTP server in Sonarqube?
Configure SMTP For Outbound Emails
In order to configure outbound email, follow the steps below:
Log in to the SonarQube dashboard and click on the āAdministrationā tab.
Browse to the āConfiguration -> General settings -> Generalā menu.
Under the āEmailā section, fill out the required information. The settings below configure SonarQube to send emails through a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password, respectively.
SMTP port: 587
SMTP host: smtp.gmail.com
Secure connection: starttls
SMTP password: PASSWORD
SMTP username: USERNAME@gmail.com
Save the changes.
Q3. Title ā List of most popular plugins of Jenkins from plugins.jenkins.io/
- Kubernetes
The āKubernetesā plugin is great for automating build agents on a Kubernetes cluster.
Essentially, the plugin will dynamically create Kubernetes Pods that house a build agent that has started and
will stop the agent once the build has completed. - Amazon Elastic Container Service
A plugin that deploys build agents to an existing Amazon ECS cluster.
These builds run within separate Docker containers that are removed upon completion of the build. - Azure Container Service
Similar to Amazon ECS, this plugin requires an existing cluster on Azure.
Keep in mind that Azure Container Services is being deprecated by Microsoft,
but this plugin still supports it as well as Azure Kubernetes Service. - Dashboard View
Dashboard View enables you to create a customized view within the Jenkins dashboard.
The user is able to select which jobs they want to include in the view as well as the different portlets. - Build Pipeline
āBuild Pipelineā is another interesting plugin because it gives you a view of all the jobs within your build pipeline.
It also shows all the connected jobs that are upstream and downstream.
Whatās all really cool is if you have any jobs that require intervention before they run, manual triggers can be defined. - Multijob
āMultijobā is a free plugin that is useful for cleaning up messes with chain definitions from upstream and downstream jobs.
Itās also handy if you want to create a hierarchy of jobs that need to be executed either sequentially or in parallel. - Pipeline
āPipelineā is actually a group of plugins that are used for creating continuous integration pipelines.
The interesting part is that these pipelines are written by the user in a domain-specific language. - Mailer
Once configured and added to the Post-Build action of the Jenkins job, the āMailerā plugin will send you emails based on the job results. - SCM API
āSCM APIā is a plugin that integrates with source control management systems. The built-in extension points allow developers to receive event notifications
from SCM systems and easily browse through repositories and organizations. - Git
The āGitā plugin allows jobs to connect to remote repositories and run git operations against them. - GitHub Integration
With this plugin, you can integrate your Jenkins instance directly with Github. That means you can pull down code
and files from Github to Jenkins, scheduled builds and process pull requests. - Subversion
This plugin adds Subversion repositories as an option in the SCM section of the job configurations screen. - JUnit
The āJUnitā plugin is a free tool that provides graphical visualizations for test results.
It also provides a user interface for viewing test reports and failures.