Closed FGRibreau closed 7 years ago
I saw the the image created int the Docker Hub, and after pull the image and run the the same command but changing its image name to fgribreau/mongotail works OK.
Indeed, my bad, I fixed it :)
I had the issue with mongotail, wanted to use it through docker, found the fastest way and did it. But indeed a complete build (with intermediate step removal for build files) would be a better idea (and it would leverage docker automated build as well)
@FGRibreau thanks for the patch! However, I cannot run successfully the command suggested in the README to launch the Docker container:
I suppose that you don't have this error because the image was created by you locally.
I saw the the image created int the Docker Hub, and after pull the image and run the the same command but changing its image name to
fgribreau/mongotail
works OK.Anyway, I think that in any project like this there is two way to run with Docker the project, (1) from a public image without the source code, (2) and building the image locally from the source code:
docker
, because that Dockerfile is only used by the publisher in Docker Hub). So the command to run it willdocker run -it --rm fgribreau/mongotail
.RUN pip install mongotail
with something likeRUN python setup.py install
(not tested).