I build and run an Docker Container using sudo privilege to do so I ran bellow commands
This command to build the container and its build successfully.
sudo docker build -t getting-started .
After that I ran the docker container using bellow command
sudo docker run -dp 3000:3000 getting-started
After running the docker container everything is running fine and I am able to see my container when I ran bellow command
sudo docker ps
But the problem is I am not able to see my container that I just built and ran in my Docker Desktop.
Note: If I build and run the docker container without sudo privilege then I am able to see the container in Docker Desktop.
So now what should I do to manage my containers using Docker Desktop those are build and running using sudo privilege.