gotchadockerMinor
What is the difference between dockerd and com.docker.service in Docker for Windows?
Viewed 0 times
thewhatdockerdifferencebetweenserviceforwindowsandcom
Problem
What is the difference between dockerd and com.docker.service in Docker for Windows? Or rather I should ask: why do I need (if I need) com.docker.service running?
Intention: I want to use Docker only with command line in Windows environment in Windows container mode, control it with PS scripts etc. etc.
For me the role of com.docker.service is unclear.
I am able to run dockerd process and pull and run containers, when com.docker.service is stopped. When I start it - nothing happens (or maybe I don't notice the change).
Intention: I want to use Docker only with command line in Windows environment in Windows container mode, control it with PS scripts etc. etc.
For me the role of com.docker.service is unclear.
I am able to run dockerd process and pull and run containers, when com.docker.service is stopped. When I start it - nothing happens (or maybe I don't notice the change).
Solution
dockerd is a persistent process that manages containers. Docker uses different binaries for the daemon and client. ( from Docker site ). Docker Daemon is a server which interacts with the operating system and performs all kind of services. The Docker Daemon listens for REST API request and performs the operation. Its process running on the background.
Docker service is the utility we use when we run any docker commands e.g. docker run (docker container run), docker images, docker ps etc. It allows us to run these commands which a human can easily understand.
Docker service is the utility we use when we run any docker commands e.g. docker run (docker container run), docker images, docker ps etc. It allows us to run these commands which a human can easily understand.
Context
StackExchange DevOps Q#6558, answer score: 2
Revisions (0)
No revisions yet.