DCA · Question #144
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Delete '/var/lib/docker' directory.
The correct answer is B. No. Deleting the /var/lib/docker directory removes Docker's persistent data but does not change the installed Docker Engine version or edition.
Question
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Delete '/var/lib/docker' directory.
Options
- AYes
- BNo
How the community answered
(18 responses)- A11% (2)
- B89% (16)
Why each option
Deleting the `/var/lib/docker` directory removes Docker's persistent data but does not change the installed Docker Engine version or edition.
Removing Docker's data directory is a data management task; it does not impact the installed software packages or their versions/editions.
Deleting the `/var/lib/docker` directory only removes Docker's stored data such as images, containers, volumes, and network configurations. This action does not uninstall the Docker Engine software itself, nor does it modify its installed edition from Community Edition (CE) to Enterprise Edition (EE).
Concept tested: Docker data directory vs. engine upgrade
Source: https://docs.docker.com/engine/install/
Topics
Community Discussion
No community discussion yet for this question.