Introduction
There are a number of reasons for wanting to open a shell within a running container, including:
- To see the contents of any number of configuration files.
- To make a quick change to a file which is not part of any of the container's mounted volumes.
- It should be noted that this is most likely an anti-pattern. However, it could also be argued that it is harmless if the change is minor and is made only in development environments for debugging and tweaking.
- If the change you are making is intended to be permanent you should consider capturing it...Continue Reading