Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 817 Bytes

docker-basics.md

File metadata and controls

15 lines (11 loc) · 817 Bytes

Docker basics

Prerequisites

  1. Install Docker
  2. Create Docker Hub account Docker Hub

Details:

  1. Create .dockerignore file and list all files that should be ignored by Docker
  2. Create Dockerfile that will be used for building image of PostgreSQL database
  3. Create Dockerfile that will be used for building image of express application
  4. Create docker-compose.yml file that will be used for running multi-container application (express application and PostgreSQL database). Specify custom network that will be used for communication between application and database containers
  5. Build images and scan it for security vulnerabilities
  6. Push built images to your private repository on Docker Hub