What is the difference between docker host and nod

2019-08-08 18:28发布

I know that questions similar to this one is already asked on SO. But, it doesn't make clarification on what I am looking for.

I am trying to get my hands dirty on docker. I have encountered the terminology docker host and docker node. I am referring this article:- https://docs.docker.com/get-started/part3/#docker-composeyml.

I know that docker host is the one, which runs one or more containers and in which docker engine is installed. Moreover, docker host can either be a physical machine or it can be a virtual machine.

But I am confused about docker node. How it's different from docker host ? When a docker host becomes docker node ?

Thanks for your patience.

2条回答
疯言疯语
2楼-- · 2019-08-08 19:11

A docker host refers to the server in the client server pair. It's the instance of the dockerd engine, and where containers are run.

A docker node refers to a member in a swarm mode cluster. Every swarm node must be a docker host, but not every docker host is necessarily a member of a swarm cluster.

查看更多
可以哭但决不认输i
3楼-- · 2019-08-08 19:20

The terms are used interchangeably and there is no difference.

查看更多
登录 后发表回答