gitwtfhub

wtf is fig_bug_app?

fsword/fig_bug_app — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2015-02-12

Audience · developerComplexity · 2/5DormantSetup · easy

TL;DR

A test case repo documenting a bug where Fig, an early Docker orchestration tool, ignored .dockerignore rules that plain Docker builds honored correctly.

Mindmap

mindmap
  root((repo))
    What it does
      Reproduces a bug
      Compares build outputs
      Documents discrepancy
    Tech stack
      Docker
      Fig
      dockerignore
    Use cases
      Bug reproduction
      Historical reference
      Container debugging
    Audience
      Docker maintainers
      Fig developers
    Findings
      Docker respects rules
      Fig ignores rules
      Files leak into image

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Reproduce and compare how Docker and Fig handle .dockerignore rules differently

REASON 2

Investigate why excluded files like a log folder end up in a container image via Fig but not plain Docker

REASON 3

Use as a historical reference for a known Fig bug before it was replaced by Docker Compose

REASON 4

Learn how inconsistent .dockerignore handling can lead to unexpected or sensitive files in a container

What's in the stack?

DockerFig

How it stacks up

fsword/fig_bug_app0verflowme/alarm-clock0verflowme/seclists
LanguageCSS
Last pushed2015-02-122022-10-032020-05-03
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/52/51/5
Audiencedevelopervibe coderops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Documents a historical bug, Fig itself has since been replaced by Docker Compose.

Wtf does this do

This repository is a test case that demonstrates a bug in how Fig (an early tool for managing Docker containers) handles the .dockerignore file. The .dockerignore file is supposed to tell Docker which files and folders to exclude when building a container image, similar to how .gitignore works in version control. The problem is straightforward: when you build a Docker image directly using the docker build command, the .dockerignore rules work correctly. Files and folders listed in .dockerignore (in this case, a log folder) don't get included in the final container. However, when the same setup is run through Fig, those exclusion rules are ignored, and the log folder ends up in the container anyway. The repository's owner is asking whether this is actually how Fig is supposed to work, or if it's a genuine bug. Fig was an early orchestration tool (now incorporated into Docker Compose) that simplified managing multiple connected containers. This repository serves as evidence that Fig wasn't respecting the same exclusion rules that plain Docker honored. The test case makes it easy to reproduce the issue and compare the two behaviors side by side, you can see the file listings differ between a regular Docker build and a Fig deployment. If you're working with containerized applications, this kind of inconsistency matters because it can lead to unexpected files or sensitive data ending up in your running containers. The repository doesn't provide a fix, but rather documents the discrepancy so that developers or maintainers of Fig could investigate and address it. Today, Fig has been replaced by Docker Compose, which handles this differently, but this repo remains a useful historical record of the issue.

Yoink these prompts

Prompt 1
Walk me through this repo's test case to understand why Fig didn't respect .dockerignore rules that Docker honored
Prompt 2
Compare the file listings between a plain Docker build and a Fig build using this repo's setup
Prompt 3
Explain how .dockerignore is supposed to work and why Fig's orchestration layer might have bypassed it
Prompt 4
Using this as a historical reference, help me check whether Docker Compose today correctly respects .dockerignore

Frequently asked questions

wtf is fig_bug_app?

A test case repo documenting a bug where Fig, an early Docker orchestration tool, ignored .dockerignore rules that plain Docker builds honored correctly.

Is fig_bug_app actively maintained?

Dormant — no commits in 2+ years (last push 2015-02-12).

How hard is fig_bug_app to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is fig_bug_app for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.