Получить ip-адрес docker контейнера.

Submitted by smartking on Sat, 01/14/2017 - 21:10

Getting a docker container's ip address from the host:

  •  docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
Tags

Add new comment

Image CAPTCHA