1
1
12332112021-06-09 10:45:37
React
1233211, 2021-06-09 10:45:37

What is the difference between running a project with yarn start and docker?

I have access to the project, I can run it with yarn start or I use docker docker run -p 3000 , what are the fundamental differences in this? why would docker be needed at all when running a project locally?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-06-09
@1233211

Docker will run in a container, and yarn without it (although not a fact - it will write from what is written in package.json)
Docker is useful when the developer's environment is different from the production environment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question