DEV Community

Javed Khan
Javed Khan

Posted on

Spring Boot Feature Flag

What is a feature flag?

A feature flag is a software development process used to enable or disable functionality remotely without deploying code. New features can be deployed without making them visible to users. Feature flags help decouple deployment from release letting you manage the full lifecycle of a feature.

Feature flags go by many names:

  • Feature toggle
  • Feature flipper
  • Conditional feature
  • Feature switch
  • Feature controls
  • Release toggle


Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime. Using Docker, you can quickly deploy and scale applications into any environment and know your code will run.

Dockerfiles are text documents that allow you to build images for Docker

You will find the project here

Below command to build image

docker build -t spring-docker:latest .
Enter fullscreen mode Exit fullscreen mode

Below command to run container

docker run --name spd -d -p 8080:8080 spring-docker:latest
Enter fullscreen mode Exit fullscreen mode


Top comments (0)