'Start a container.'

def start(self, name):

    if (self.state(name) not in [JobState.created, JobState.up, JobState.down, JobState.crashed, JobState.error]):
        raise TransitionError(self.state(name), JobState.up, 'the    container    must    be    stopped    or    up    to    start')
    jobs.setdefault(name, {})['state'] = JobState.up
