What should I do to reload the updated Dockerfile?

Introduction

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.

Conclusion docker-compose up --build is OK

To reload your updated Dockerfile docker-compose down docker-compose upIf you just use it, you will use the image you made for the first time. docker-compose up --buildYou need to recreate it from scratch.

Recommended Posts

What should I do to reload the updated Dockerfile?
What to do if the server tomcat dies
What to do if the debug gem installation fails
What to do if the Rails server can't start
What to do when The SSL certificate has expired
What should I use for the testing framework [Rails]
What I was addicted to when introducing the JNI library
What I did in the version upgrade from Ruby 2.5.2 to 2.7.1
What I was addicted to with the Redmine REST API
What to do if the adb command cannot be executed
What to do if you can't use the rails command
What should I do after January 2019 regarding the Java payment issue and Java 8 end of support issue?
docker What should I do first? (Somehow I understand the shell, but ... for beginners at the level)
[Ubuntu 20.04] What to do if the external monitor is not recognized
What to do if validation doesn't work with the update action
What to do when the changes in the Servlet are not reflected
What to do if the Rails page doesn't appear in Rails tutorial 1.3.2
I tried to explain the method
What I did in the migration from Spring Boot 1.4 series to 2.0 series
What to do if Cloud9 is full in the Rails tutorial
The story I wanted to unzip
What to do if the Eclipse Maven dependency Jar is wrong
What to do after Vagrant install
What I did in the migration from Spring Boot 1.5 series to 2.0 series
What to do when javax.batch.operations.JobStartException occurs
What to do if you forget the root password in CentOS7
What to do if you cannot roll back the migration (UnknownMigrationVersionError)
[IOS] What to do when the image is filled with one color
What I thought when passing the user input value to the Service class
What to do if the background image is not applied after deployment
What to do if the prefix c is not bound in JSP
What to do if you can't install the plugin from the Eclipse marketplace
What to do if you don't like the code generated by swagger-codegen-cli
I translated the grammar of R and Java [Updated from time to time]
I want to find out what character the character string appears from the left
I tried to summarize the methods used
What to do when a javax.el.PropertyNotWritableException occurs
What I learned through the swift teacher
I wanted to add @VisibleForTesting to the method
I was addicted to the roll method
I tried to implement the Iterator pattern
What are the updated features of java 13
I was addicted to the Spring-Batch test
I tried to summarize the Stream API
What is Docker? I tried to summarize
I went to the Java Women's Club # 1
I want to do team development remotely
What to do if you install Ubuntu
What to do when undefined method  Ľuser_signed_in?'
[Rails] I want to reset everything because the data in the local environment is strange! What to do before that
What to do if you can't activate the select box created by bootstrap-select
What to do if you get the error message unrecognized selector send to instance "***"
What I tried when I wanted to get all the fields of a bean
What to do if the changes are not reflected in the jar manifest file
What to do when the value becomes null in the second getSubmittedValue () in JSF Validator
What to do when rails db: seed does not reflect in the database
[Grails] Error occurred running What to do when the Grails CLI does not start
[Swift] What to do if the app icon is set but not reflected
What to do if you get To install the missing version, run `gem install bundler: 2.1.4`
When I try to run docker-compose, I get the error "Cannot locate specified Dockerfile: Dockerfile"
[JavaScript] The strongest case when I tried to summarize the parts I do not understand