P
P
Polina Titova2021-04-08 19:46:17
ubuntu
Polina Titova, 2021-04-08 19:46:17

How to run an application in development mode in Docker?

In ubuntu, we run the application through docker. Let's start with a command sudo make setup. Everything works as it should, without errors. Now we run the command sudo make run, this is what comes out:

docker run -it --rm -v :/app -v /app/node_modules -p 3001:3000 -e CHOKIDAR_USEPOLLING=true todo_todo
Unable to find image 'todo_todo:latest' locally
docker: Error response from daemon: pull access denied for todo_todo, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
make: *** [Makefile:5: run] Ошибка 125

What is wrong and how to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question