Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 1.69 KB

DOCKER.md

File metadata and controls

61 lines (37 loc) · 1.69 KB

Docker Compose

This section will help guide you through the required steps to get started running the coredns-dnsimple in a Docker Compose environment.

Prerequisites

  • Docker
  • Docker Compose
  • Logged in to the Docker Hub with access to the dnsimple organization – reach out to the platform team if you need access.

Getting Started

Start the Application

Run the following command to start the application:

docker compose up

Stop the Application

To stop the application, simply type CTRL+C to stop the docker compose process.

Clean up

You may selectively delete containers and volumes via the Docker Desktop application.

To remove all containers and associated volumes, run the following command:

docker compose down --remove-orphans --volumes

Advanced Usage

Selecting the App Version

You can select the version of the app to run by setting the TAG environment variable. The default is latest. If you want to run a specific version, set the TAG environment variable to the tag of the image you want to run.

Example:

TAG=v1.3.0 docker compose up

Building a custom image

This document will help guide you through the required steps to get started building the app into Docker images. If you want more detailed information on the tools and configuration we will be using refer to the CONTRIBUTING.md document.

Build the Image

make docker-build

Build image with a specific tag

PACKAGER_VERSION=dev make docker-build