Yes, you can run the Docker-desktop and Docker engine simultaneously on your machine. But when both services need to access the same system resources like network ports or volumes, then it creates a conflict between them. Therefore it is advisable to stop one service before starting one.
Docker desktops can be stopped easily with the help of a GUI (graphical user interface) app. To stop the Docker engine, run the following command.
sudo systemctl stop docker docker.socket containerd sudo systemctl disable docker docker.socket containerd