public function containerTop($container, $ps_args = null)
    {
        return $this->browser->get(
            $this->uri->expand(
                '/containers/{container}/top{?ps_args}',
                array(
                    'container' => $container,
                    'ps_args' => $ps_args
                )
            )
        )->then(array($this->parser, 'expectJson'));
    }
public function containerTop($container, $ps_args = null)
    {
        return $this->browser->get(
            $this->uri->expand(
                '/containers/{container}/top{?ps_args}',
                array(
                    'container' => $container,
                    'ps_args' => $ps_args
                )
            )
        )->then(array($this->parser, 'expectJson'));
    }
public function containerTop ( $ container , $ ps_args = null ) { return $ this -> browser -> get ( $ this -> uri -> expand ( '/containers/{container}/top{?ps_args}' , array ( 'container' => $ container , 'ps_args' => $ ps_args ) ) ) -> then ( array ( $ this -> parser , 'expectJson' ) ) ; }
List processes running inside the container id

@param string      $container container ID
@param string|null $ps_args   (optional) ps arguments to use (e.g. aux)
@return PromiseInterface Promise<array>
@link https://docs.docker.com/reference/api/docker_remote_api_v1.15/#list-processes-running-inside-a-container
List processes running inside the container id