FROM node:latest
RUN apt-get install
COPY . .
EXPOSE 80
CMD ["node","app.js"]
LL-002 error
base image unpinned
fix confidence 96%
→ node:20.11-alpine
FROM python:3.11
RUN pip install -r
USER app
HEALTHCHECK CMD
LL-007 warn
cache not cleaned
est. 48MB saved
apply fix? [y/n]
FROM golang:1.22
WORKDIR /app
COPY go.mod .
RUN go build -o
LL-001 error
running as root
→ USER nonroot:nonroot
FROM ubuntu:latest
RUN curl | bash
ENV SECRET_KEY=abc
ADD ./src /app
4 findings
1 error · 2 warn
1 info
fixes available
layerlint fix
Applying 3 fixes...
✓ Saved 64MB
✓ Pinned digest
Launching Soon
AI-Powered Dockerfile Analysis

Fix your containers.
Automatically.

LayerLint AI scans your Dockerfiles for security vulnerabilities, image bloat, and bad practices — then generates one-click fixes with AI confidence scores. In your IDE, in CI, in one command.

You're on the list — we'll be in touch.

No spam. Early access invite when we launch.

30+ lint rules
AI-generated fixes
GitHub Actions
GitLab CI
VS Code plugin
Docker Desktop
Offline CLI
Team dashboards
layerlint fix ./Dockerfile
$ layerlint fix ./Dockerfile
Analysing 47 instructions across 3 stages...

✗ ERROR line 1 LL-002 Base image uses :latest tag
⚠ WARN line 14 LL-007 apt-get cache not cleaned — 48MB
⚠ WARN line 21 LL-001 Container runs as root
✓ INFO line 38 LL-015 No HEALTHCHECK instruction

Generating AI fixes (confidence ≥ 80%)...

Fix 1/3 — Pin base image 96%
- FROM node:latest
+ FROM node:20.11.0-alpine3.19

Apply this fix? [y]es / [n]o / [a]ll
$