Docker received from members and Docker cloned from Git. What should I do when I rewrite the contents according to the local environment? I summarized it as a simple memorandum.
docker-compose up --build
is OKTo reload your updated Dockerfile
docker-compose
down
docker-compose up
If you just use it, you will use the image you made for the first time.
docker-compose up --build
You need to recreate it from scratch.
Recommended Posts