Uninstall Hub Docker
To uninstall Hub service that is run as a Docker container, you just need to remove the data directories on a host machine that are mapped to the data directories inside the container.
To uninstall Hub Docker from the system:
Delete the docker container:
docker rm <container_id>
Delete the Hub-specific data directories:
logs. Make sure these directories are not reused by another instance of Hub before you delete them.