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,

  • Run copied file in container
  • Docker registry --insecure-registry not working
  • mysql docker container crashes often
  • Docker - nginx with custom conf
  • Docker Cannot link to a non running container
  • After using Docker-machine to reconfigure docker client how do I set it back to Docker for Windows hyperv
  • botocore.exceptions.EndpointConnectionError from inside Mac Docker container
  • intel pin with docker
  • Using docker bridge network IP to access vhost in apache container
  • Why is my Redis Python setup inserting values multiple times when a command is called once?
  • automatic log rotation is not executing
  • Docker: save internal hd contents
  • 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.