Code and config

Dockerfile viewer

To open a Dockerfile file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

Dockerfile in the viewer
NamesDockerfile, Containerfile, Dockerfile.dev, api.dockerfile
Colourshighlight.js, Dockerfile
Files with no extensionKnown by their name
Extensions.dockerfile
UploadNone: opened on your device

What is a Dockerfile file?

In short

A Dockerfile lists the steps that build a container image: the base image, files to copy, commands to run. It usually has no extension.

The steps with line numbers and colours for instructions (FROM, RUN, COPY…), strings and comments, with Wrap lines and Copy.

How to open a Dockerfile file

  1. Add your Dockerfile. Drop the file in the box, choose it or paste it.
  2. Look at it. The steps with line numbers and colours for instructions (FROM, RUN, COPY…), strings and comments, with Wrap lines and Copy.
  3. Take it further. Download any file from inside an archive, or open another file.

Questions

Drop it here. It has no extension, so Windows asks which app to use; the viewer knows it by its name.

No. The file is only shown; nothing is built and no image is fetched.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related