def stop(self, timeout=5):
        """
        Stop the container. The container must have been created.

        :param timeout:
            Timeout in seconds to wait for the container to stop before sending
            a ``SIGKILL``. Default: 5 (half the Docker default)
        """
        self.inner().stop(timeout=timeout)
        self.inner().reload()
def stop ( self , timeout = 5 ) : self . inner ( ) . stop ( timeout = timeout ) self . inner ( ) . reload ( )
Stop the container. The container must have been created.

        :param timeout:
            Timeout in seconds to wait for the container to stop before sending
            a ``SIGKILL``. Default: 5 (half the Docker default)