How to set monitoring of the SUT running in Docker from Yandex.Tank?

Yandex Tank have monitoring of the SUT. It is done via SSH. If we run SUT in Docker, how do we need to make monitoring right?

UPD: I think it needs to be mentioned: by the word right I mean that I know the hack with running SSHD inside Docker container as extra process, but I don’t think it is right,

  • Smart router / proxy to containers
  • Deploy a Dockerized Symfony2 application on AWS Elastic Beanstalk
  • How to share dynamically generated secrets between Docker containers
  • How to enable SCM polling with the Jenkins Pipeline plugin
  • docker php, nginx is super slow with wordpress
  • Postgres shuts down immediately when started with docker-compose
  • Opening file from Docker Container in Python/Django Web App
  • Docker: Unable to view running container despite successful demo example
  • Connection error for MongoDb replica-set using docker-compose
  • Using zookeeper for service discovery of mesos slaves running docker
  • Can't require ruby gsl on Alpine Linux
  • Docker build seems to not see requirements.txt even though it's in same directory
  • One Solution collect form web for “How to set monitoring of the SUT running in Docker from Yandex.Tank?”

    You can expose your ssh port(22 as default) by adding parameter to docker run command:

    -p 22:22

    After this you can connect by ssh to container host and have monitoring as usually.

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