Skip to content

Tag «Docker»

CI/CD with Jenkins – Part 8: deploy docker images

jenkins

deploy images to server Install ‘Publish Over SSH’ plugin Copy ssh key to server 192.168.1.4 Configure publish Over SSH Create jenkins_folder and upload shell script on production server deploy.sh shell script Add string patameter ‘port environment’ check docker image on production server build task check deployment status

CI/CD with Jenkins – Part 7: Configure Docker with Jenkins Pipeline

In the previous article, we have successfully configured SonarQube with Jenkins and Jenkins can pull code from Gitlab, build the project automatically through Jenkinsfile. In this post, we will configure Docker with Jenkins. Build the project with Maven Updating the Jenkins file, we added two more stages, one is for building command project, another is …

Deploy multiple vhost websites in Docker

Suyog Nepal ask a question in the Facebook group, here is the question: I have multiple websites running via virtual host I want to deploy using the same websites via docker is it possible. I’m very happy to help them to solve the question, so I write down this article. I created two vhost websites …

CI/CD with Jenkins – Part 4: Install and Configure Harbor

What is Harbor VMware Harbor repository is an enterprise-class registry server that stores and distributes container images. Harbor allows you to store and manage images on-premise environment. Pre-requisite Docker: for docker installation, please refer to ‘Install Docker‘ Part in previous article. Install docker-composer Install and upgrade python-pip optional: set up pip source. if you have …

CI/CD with Jenkins – Part 3: Install and Configure SonarQube

What is SonarQube SonarQube formerly known as Sonar, is an open source tool suit to measure and analyze to quality of source code. It is written by Java but is able to analyze code in 20 different programming languages. With SonarQube, developers can easily to check to ensure quality, reliability and maintainability over life-span of …

Install MySQL with Docker

I often need to install a certain version of MySQL to run some experiments or to test other software but need database support. In this article, I will look into how to install a MySQL server with Docker and some basic commands. This article is designed to get a test instance quickly and easily, please …

Cannot delete Docker images

I got a wired issue that docker image cannot be deleted fully, even restart doesn’t help. the docker version is 17.12 when pulling image again from Docker Hub and delete image, it prompts conflct error again. this could be related to Docker image folder or another folder. so enter /var/lib/docker/images/ delete the folder starting with …