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
- Clone
zerocracy/swarm-template at the default branch.
- Run
docker build -t swarm . as documented.
- 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.
What is wrong?
The README tells users to run
docker build -t swarm .and says a Dockerfile is required, but the repository has noDockerfile(or.dockerignore). Following the documented command fails immediately with Docker'sunable to prepare context: ... Dockerfile: no such file or directoryerror.Where?
README.md:82-83(Docker build command)Dockerfile)Reproduction
zerocracy/swarm-templateat the default branch.docker build -t swarm .as documented.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.