3 ms·
> docker has a daemon that exposes an HTTP API This API has to enabled explicitly. Docker daemon works by using a unix socket instead ( "/var/run/docker.sock"
by indexerror 10y ago
> docker has a daemon that exposes an HTTP API
This API has to enabled explicitly. Docker daemon works by using a unix socket instead ( "/var/run/docker.sock" ).
> acts more or less like an init for containers
There is Docker daemon and there is Docker CLI. Both have separate scopes.
- TheDong 10y agoThe unix socket actually serves an HTTP api (just not over tcp) as well, so the statement was true either way.
- gnosek 10y ago> There is Docker daemon and there is Docker CLI. Both have separate scopes. Docker CLI is glorified curl, everything happens in the daemon (containerd being logically -- but finally not physically -- part of the daemon).