Getting Started

Dockerizer is a CLI tool that automatically generates production-ready Docker configurations for your projects. It analyzes your codebase, detects the framework and language, and creates optimized Dockerfiles.

Installation

Quick Install (Recommended)

Run the install script to download the latest version:

curl -fsSL https://dockerizer.dev/install.sh | sh

Using npm

Install globally via npm:

npm install -g @dublyo/dockerizer

Using Go

Install directly with Go:

go install github.com/dublyo/dockerizer@latest

Manual Download

Download pre-built binaries from the GitHub Releases page.

Quick Start

Step 1: Navigate to Your Project

cd /path/to/your/project

Step 2: Run Dockerizer

dockerizer

Dockerizer will analyze your project and generate:

Step 3: Build and Run

# Build the image
docker build -t myapp .

# Or use docker-compose
docker-compose up --build

How It Works

1. Scan

Dockerizer scans your project files including package.json, requirements.txt, go.mod, Cargo.toml, Gemfile, composer.json, pom.xml, *.csproj, mix.exs, and source files.

2. Detect

Using pattern matching, it identifies your language, framework, and version with confidence scoring.

3. Generate

Based on detection results, it generates optimized Docker configurations using battle-tested templates.

Detection Confidence

Dockerizer uses a confidence scoring system:

Tip: Configure an AI provider (OpenAI, Anthropic, or Ollama) for better results with uncommon tech stacks. See AI Configuration.

Generated Dockerfile Features

All generated Dockerfiles include production best practices:

Next Steps