Docker has run the application, how to modify the source code?

  docker, question

Want to know, docker has run the application, how to modify the program source code?
Where are the running applications, how should they be modified, or can they only be run again?

Do data volume mapping, or go directly into the container.
The containers are isolated from each other.