Merge pull request #37960 from zioproto/patch-2
Clarification on containers immutabilitypull/37997/head
commit
1284a8589e
|
@ -31,10 +31,13 @@ software package, containing everything needed to run an application:
|
||||||
the code and any runtime it requires, application and system libraries,
|
the code and any runtime it requires, application and system libraries,
|
||||||
and default values for any essential settings.
|
and default values for any essential settings.
|
||||||
|
|
||||||
By design, a container is immutable: you cannot change the code of a
|
Containers are intended to be stateless and
|
||||||
container that is already running. If you have a containerized application
|
[immutable](https://glossary.cncf.io/immutable-infrastructure/):
|
||||||
and want to make changes, you need to build a new image that includes
|
you should not change
|
||||||
the change, then recreate the container to start from the updated image.
|
the code of a container that is already running. If you have a containerized
|
||||||
|
application and want to make changes, the correct process is to build a new
|
||||||
|
image that includes the change, then recreate the container to start from the
|
||||||
|
updated image.
|
||||||
|
|
||||||
## Container runtimes
|
## Container runtimes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue