Quiz · Your first container · lesson 3 of 7Quiz — a stopped containerWhy does a stopped container still show in docker ps -a and take disk space?[A]A stopped container is paused in memory, not saved on disk. docker ps -a lists it until the next reboot, when Docker removes every stopped container together with its data on its own.[B]Docker keeps a full copy of the image for each stopped container so that it restarts faster. docker rmi frees that space, while docker rm only hides the stopped container from the docker ps -a list and keeps its files on disk.[C]docker stop deletes the container but leaves a record in Docker's event history, and docker ps -a reads that record. The space it takes is the history, which grows with every stop.[D]docker stop only ends the container's process. The container itself, with its writable layer, settings and logs, stays on disk until docker rm deletes it. docker ps lists running containers, and -a adds the stopped ones.← BackA container's life: ps, stop, rm, logsNext →Ports: -p host:container