Docker Training 28/29: Linking Containers

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Note that --link is now deprecated in newest version of Docker.

You can use the network capacities of docker to perform this task.

To create a new network
docker network create mynetwork

then, when running a docker
docker run --network mynetwork

You can do it with every container you want to be part of this "network".

You will then be able to access the container by his name as hostname.

ChicwebCa
Автор

Is it possible to disconnect the linked container

aftabalam
Автор

is it possible to read one container's runtime log files and use that file in another container??

signature-games
Автор

Its saying ping not found as if ping command is not there

bhaskartaneja
Автор

Does redis keep the data once the container is stopped? How does it know to do that without the `-v` flag?

garrehsponges
Автор

is it possible to enable communication between docker host and non docker. My db will run in non docker host. jboss will run as container

padmarajugadam
Автор

i have a problem when i pinged redis it says ping: not found, what is the problem?

BitixStories