Harbor Docker Image Registry Setup Using Ansible and Vagrant

Eric Anicet
7 min readApr 1, 2024

In this story, we’ll show how to install a Harbor as a private Docker image registry using Ansible.

· Prerequisites
· Overview
What is Harbor?
Key Features
Architecture
Why use Vagrant and Ansible?
· Setup Harbor
Project structure
Vagrantfile
Create an Ansible playbook
Install Docker and its dependent components.
Install and configure Harbor
Run playbooks
Go further
· Conclusion
· References

Prerequisites

This is the list of all the prerequisites:

Overview

What is Harbor?

Harbor is an open-source trusted cloud native registry project that stores, signs, and scans content. Harbor extends the open-source Docker Distribution by adding the functionalities usually required by users such as security…

--

--