Skip to content

README documents a Docker build that cannot work because Dockerfile is absent #296

Description

@gemshrine

What is wrong?

The README tells users to run docker build -t swarm . and says a Dockerfile is required, but the repository has no Dockerfile (or .dockerignore). Following the documented command fails immediately with Docker's unable to prepare context: ... Dockerfile: no such file or directory error.

Where?

  • README.md:82-83 (Docker build command)
  • Repository root (missing Dockerfile)

Reproduction

  1. Clone zerocracy/swarm-template at the default branch.
  2. Run docker build -t swarm . as documented.
  3. Docker fails before building any image because it cannot find a Dockerfile.

Expected behavior

The documented command should build the template image, or the README should not advertise a Docker build until a Dockerfile is included.

Suggested fix

Add and maintain a Dockerfile (and document its required runtime arguments), or remove/update the Docker build entry from the README.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions