raise an exception when container is not started