Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.29 KB

File metadata and controls

30 lines (25 loc) · 1.29 KB

What is Docker?

Docker is a platform that enables developers to develop, package, and distribute applications as lightweight, portable containers. These containers are isolated from the host system, ensuring consistent behavior across different environments. You can learn more about Docker in the official documentation.

How Docker Helps Achieve Production-Grade Requirements

Docker plays a crucial role in achieving production-grade requirements by:

  • Consistency
  • Scalability
  • Ease of Deployment
  • Resource Efficiency
  • Version Management

Installing Docker

Before proceeding, ensure that you have Docker installed. You can verify the installation by running the following command:

docker --version

If docker is not installed, run the below command to install docker:

sudo apt install docker.io -y

Building Required Docker Images

Before continuing to next stages, you'll need to build specific Docker images. Follow these steps:

  1. Create a Docker Image for the Django App
  2. Build a Docker Image for the Jenkins Agent

Previous | Next