Example of SonarQube with Jenkins using Docker Images

Objective In the end of this tutorial we will have two Docker containers running on the same host, one will be for Jenkins and the other for SonarQube. In the Jenkins container, we will use sonar-scanner running locally to perform the code quality inspections. Jenkins Installation Downloading Jenkins We will start by downloading the official Jenkins image […]

En Lire Plus

How to list containers in Docker ?

Docker How to list containers ? In Docker, we can use docker ps to show all running containers, docker ps -a to show all running and stopped containers. Here are some of the commonly used examples : Terminal What is ps ? The ps stands for process status. On Docker, it shows the status of […]

En Lire Plus

How to copy files from docker container to host?

In this article, we will show you how to use docker cp to copy files or folders from a docker container to the host (local file system) or the reversed. For example, here is a running container, id is d362659da5fc, later we will copy files from and to this container. The docker cp command works […]

En Lire Plus