Linter for Dockerfile

Updated -

This application allows you to check basic dockerfile syntax and also allows you to check that a dockerfile follows best practices according to a selected profile. A profile defines the set of rules that a file is checked against.

Editing functionality is also provided within the application to enable you to quickly correct errors and generate a new file.

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.

Get notified when this content is updated

Follow

4 Comments

Subscriber exclusive content

An active Red Hat subscription is required to participate.

Log In

I have a question. Who is the owner of this page? Can I get a contact to him? My mail is phracek@redhat.com

Sorry Petr. I am currently managing this. My email is vigoyal@redhat.com.

How about word wrap after I click "INSERT INSTRUCTION" and select an Instruction?

why is this called Linter?

It hearkens back to the original lint program from the late 1970s: https://en.wikipedia.org/wiki/Lint_(software)

ARG instruction is being marked as invalid! https://docs.docker.com/engine/reference/builder/#arg

Backend for the app has been updated to latest docker spec, and should now accept 'ARG' instruction.

Work is still in progress to add 'ARG' to the editor instruction drop down.

I like this nifty tool a lot. Dispite the fact, that it marks lines with "deb" as errors (which may be true from the RH point of view ;-) ), it helped me to discover several typos and some unfinished commands within a second and prevented me from unneccessary trouble-shooting.

I would like to have this tool on my laptop, as an application / tool / thing.

Are there any release dates in sight? :-D

Cheers Thorsten