Docker Community Forums

Share and learn in the Docker community.

How to upgrade base container image in stacked containers?

Hi,

Suppose my app dockermage B is stacked on some Base-OS image A. The ‘latest’ tag of Base-OS (e.g. centos:latest) is used while creating the docker image of B.

Now, if A and B containers are deployed in setup, can I upgrade Base-OS container A to some newer rev - without rebuilding/redistributing B? e.g. Centos7:1508 (when the dockerimage B was first built) to newer CentOS7:1810?

Thanks,
Mnene