2.4.3.1 Uninstall the Previous Version
This topic provides detailed steps on how to uninstall the previous version.
- Execute the following command in the command prompt and check the version of
Docker:
$ docker version
- Uninstall any previous Docker versions if they are not version 19.03.11-ol or
later as given by the result of the previous step.Execute the following command
in the command prompt to uninstall Docker from Linux:
$ sudo yum remove docker \docker-client \docker-client-latest \docker-common \docker-latest \docker-latest-logrotate \docker-logrotate \ docker-engine
NOTE: The Docker Images, Docker Containers, Volumes, or customized configuration files in the Oracle Enterprise Risk and Finance Insurance Products Container Pack host environment are not automatically removed.
- Execute the following command in the command prompt to delete all Containers,
Images, and Volumes:
$ sudo rm -rf /var/lib/docker