title: docker run with default command in TeamCity command line build step
body: <p>I want to run a docker container with its default command in a TeamCity build step. I tried using a build step of type &quot;Command line&quot; and then specifying the docker container to run under &quot;Docker settings&quot; -&gt; &quot;Run step within docker container&quot;.</p>
  <p>Unfortunately, this requires specifying a command. I tried passing just a comment, but of course this is then overriding the default command of the container.</p>
  <p>Of course, I could instead just run the full docker command in the build step, but this would require additional installation of docker on the build machine, which I would like to circumvent and use the build in docker abilities of TeamCity.</p>
  <p>Does anyone have an idea how to make TeamCity run the default command of the container?</p>
  <p>EDIT: I worked around the issue for now by finding out the ENTRYPOINT of the container I want to run, and specifying it as the command to run in the build step. This works for now, but since it adds some unnecessary coupling to the setup of the container it still would be nice to know how to run the default command of the container.</p>