Sign inSign up

zaim/scrapyd

By zaim

•Updated almost 11 years ago

Scrapyd docker image

Image
7

1.4K

zaim/scrapyd repository overview

⁠docker-scrapyd

Dockerfile for building an image that runs scrapyd⁠.

⁠Building

$ docker build -t scrapyd .

⁠Running

$ docker run -p 6800 scrapyd

If you want to persist logs or scraped items export files, create a data-only container and link to it when running scrapyd:

$ docker run -v /var/lib/scrapyd -v /var/log/scrapyd -name scraped-data busybox true
$ docker run -p 6800 -volumes-from scraped-data scrapyd

Now you can rebuild/update the scrapyd image and container without destroying any scraped data.

Tag summary

Content type

Image

Digest

sha256:aab0e9e75…

Size

99.5 MB

Last updated

almost 11 years ago

docker pull zaim/scrapyd