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,

  • Docker doesn't allow to view /proc/xxx/stack?
  • Is it possible to dockerize Internet Explorer?
  • How to change timezone of postgreSQL 9.5 on docker?
  • How to copy files from an absolute path to docker image using docker maven plugin
  • Pushing files into private registry in Docker
  • Docker complains about invalid certificate after update to v1.7.0
  • Edit default .htaccess in wordpress docker
  • Should I stop a container before commit it?
  • Dockerfile built-in environment variables documentation
  • Passing Masked Jenkins Environment Variable to Docker container
  • How to reduce docker image size?
  • How do you get around the size limitation of Docker.qcow2 in the Docker for Mac?
  • 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.