Docker repair
Explain image layers, container processes, ports and volumes. Distinguish build-time files from mounted runtime data; deleting a container does not always delete persisted data. An image declares port 8080, but the operator publishes host 8080 to container 80. Compare the application's actual listener with the mapping; EXPOSE documentation does not make the process listen.
An image declares port 8080, but the operator publishes host 8080 to container 80. Compare the application's actual listener with the mapping; EXPOSE documentation does not make the process listen.
An image is a build artifact; a container is a running instance; a mount supplies runtime data outside or over image filesystem paths. Imagine a container starts with a volume mounted over a directory that held configuration in the image. The mounted content can hide the packaged files, producing a different runtime view than expected. Inspect the Dockerfile, entrypoint, mount and actual process listener separately. An image's documented exposed port does not publish it to the host. Removing a container may leave volumes and therefore persistent data, so cleanup requires ownership awareness. Container isolation simplifies packaging but does not remove host networking, filesystem and identity concerns. Repair one mistaken boundary with a small controlled example, then test a changed mount or port mapping without relying on the original screenshots.
Compare the application's actual listener with the mapping; EXPOSE documentation does not make the process listen.
Build-time files and runtime mounts always behave identically.