Giter Club home page Giter Club logo

Comments (13)

brunocascio avatar brunocascio commented on August 17, 2024 1

Basically Docker is an environment for virtualization using containers (LXC, linux kernel feature) and other linux/unix features like cgroups, UnionFS, etc with all beneficies that provides. (isolation, security, resources management, etc).

Each container is a linux process, sharing the kernel (and other linux libs) with all containers and Linux Host. It is the difference with the conventional VMM (like VBox or VMWare) that uses and runs a complete SO over an hypervisor.

Here in this project the approach is the portability, because you only need to install docker in host. All dependencies (nodejs, npm and node_modules) are builded in the Docker Image. Then, when you need to scrap a site just run a docker container from these image and it's all.

Sorry for my english :P

NOTE: This is only a very short introduction to Docker and how to benefit us!

For complete Docs, here.

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

Thanks, @shouze! If that's helpful, let's do it. Contributions are welcome!

I didn't work with Docker, but I'm open to accept any changes that make this tool better. ✨

from scrape-it.

brunocascio avatar brunocascio commented on August 17, 2024

Hi @IonicaBizau, please creates a new repository for the Dockerfile, (like scrape-it-docker). I'll fork it and contribute with this :)

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

@brunocascio Is there any specific reason why we should create a different project for the Docker thingy?

from scrape-it.

brunocascio avatar brunocascio commented on August 17, 2024

@IonicaBizau Because i'll use npm package for create the image, and don't need anything of the source repo. Would be possible use this repo, but think is a wrong place. Anything, let me know :)

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

@brunocascio I have no idea how Docker works at all. Maybe can you tell me more about workflow?

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

@brunocascio Thanks! And what is the difference of having the Dockerfile in this repository or in another one?

I'm still not sure how creating a new project helps. Is it just the download size, since you're saying the code will come from npm?

Thanks! 😁

from scrape-it.

brunocascio avatar brunocascio commented on August 17, 2024

Add a Dockerfile in this repo would be ok. But this file will have not nothing to do here.
Also, If somebody want to use Dockerfile should clone the repo with ALL files instead of only the Dockerfile.

It's only my opinion :)

Otherwise, please let me know and i'll make a pull-request here 💃

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

@brunocascio Ah, I see! Is it because Docker takes the packages from git?

The repo itself is pretty tiny anyways. I'm also for splitting if that will be faster. 😁

from scrape-it.

brunocascio avatar brunocascio commented on August 17, 2024

Docker will take packages from npm instead of git.

So, I'll make a pull-request here later :)

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

Ah, great! Then I guess it's fine to add it here. Maybe later if anyone will complain about it we can split it. 😄

Thanks!

from scrape-it.

brunocascio avatar brunocascio commented on August 17, 2024

@IonicaBizau Great! :)

from scrape-it.

IonicaBizau avatar IonicaBizau commented on August 17, 2024

Fixed via #31. 🎉

from scrape-it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.