docker - How to check if an externally linked container is connected -


using docker-compose, can add externally linked container so:

foo/dockerfile

services:   has-external-link:     networks:       - default       - other_default     external_links:       - other-service  networks:   other_default:     external: true 

which should connect image service other-service defined in other/dockerfile.

docker compose doesn't seem care if other-service or not when starting has-external-link. there way verify containers indeed linked expected?*

*...that doesn't require executing in other-service, in modern age of docker not have curl or installed


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -