func (state *DockerTaskEngineState) ContainerByID(id string) (*apicontainer.DockerContainer, bool) {
	state.lock.RLock()
	defer state.lock.RUnlock()

	c, ok := state.idToContainer[id]
	return c, ok
}
func (state *DockerTaskEngineState) ContainerByID(id string) (*apicontainer.DockerContainer, bool) {
	state.lock.RLock()
	defer state.lock.RUnlock()

	c, ok := state.idToContainer[id]
	return c, ok
}
func ( state * DockerTaskEngineState ) ContainerByID ( id string ) ( * apicontainer . DockerContainer , bool ) { state . lock . RLock ( ) defer state . lock . RUnlock ( ) c , ok := state . idToContainer [ id ] return c , ok }
// ContainerByID returns an apicontainer.DockerContainer for a given container ID
ContainerByID returns an apicontainer . DockerContainer for a given container ID