Legacy container links (Engine)

Legacy container links

The information in this section explains legacy container links within the Docker default bridge network which is created automatically when you install Docker.

Before the Docker networks feature, you could use the Docker link feature to allow containers to discover each other and securely transfer information about one container to another container. With the introduction of the Docker networks feature, you can still create links but they behave differently between default bridge network and user defined networks

This section briefly discusses connecting via a network port and then goes into detail on container linking in default 登录查看完整内容