// Provision creates a route for the container func (p *dockerProvisioner) Provision(app provision.App) error { r, err := getRouter() if err != nil { log.Fatalf("Failed to get router: %s", err) return err } err = app.Ready() if err != nil { return err } return r.AddBackend(app.GetName()) }