DCA practice question 9 of 25

Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.

Full set: 191 questions
Answer options
A: Yes
B: No Correct answer
Correct Answer:
B. No
Explanation

This action describes necessary steps but is an incomplete and therefore non-functional procedure for upgrading. To install the docker-ee package, the system's package manager must first be configured with the URL for the Docker Enterprise repository. Without this prerequisite step, the package manager will be unable to locate the docker-ee package after docker-ce is uninstalled. Therefore, this action alone will not successfully upgrade the engine.

Why Incorrect

A: This option is incorrect because the critical step of setting up the Docker EE software repository is omitted, making the described action fail in practice.

References

1. Docker Inc. Official Documentation, "Install Docker Engine - Enterprise on Ubuntu". Section "Set up the repository" is listed as a mandatory first step before the installation commands. (docs.docker.com/engine/install/ubuntu/#set-up-the-repository)

2. Docker Inc. Official Documentation, "Install Docker Engine - Enterprise on CentOS". The documentation clearly states, "You need to set up the Docker repository before you can install Docker Engine - Enterprise for the first time." (docs.docker.com/engine/install/centos/#set-up-the-repository)

Scroll to Top