communication between containers in docker

Is there any to way to communicate among docker containers other than via sockets/network? I have read docker documentation which says we can link docker containers using –link option but it doesn’t speicify how to transfer data/msg from one container to another. I have already created a container named checkram.
Now I want to link a new container with this container and I run
docker run -i -t --privileged --link=checkram:linkcheck --name linkcont topimg command.
Then i checked env variable LINKCHECK_PORT in linkcont container which contains tcp://172.17.0.14:22.
I don’t know what to do with this ip and port and how to communicate with checkram container from linkcont container. can anyone help me out of this? Thanks in advance.

  • Variable cgroups parametres in Docker
  • AWS Elastic Beanstalk VPC - HTTPS from ELB to instance
  • Wrong permissions in volume in Docker container
  • How to write docker file to run a docker run command inside an image
  • docker executable file not found in $PATH
  • Application templates and instances manager for docker deployment?
  • How to expose ports between docker images in different sub-networks?
  • Is it possible to use a mounted file in a docker file
  • Docker-compose check if mysql connection is ready
  • Finding Containers Using Docker VirtualBox
  • how to limit number of streams when pulling docker image
  • specify ip address for docker for mac
  • One Solution collect form web for “communication between containers in docker”

    There are several tools you can use to achieve running multiple docker containers and interact with them. docker has a tool: docker Compose where you can build and interact multiple containers.

    Another tool that works as well: decking you can also use FIG, but i found decking was very straight forward and easy to configure. At that time when i was using decking, docker compose was not released yet. docker compose is a newer tool, yet it is developed by docker.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.