# Background Task or Start Docker Container

**URL:** <https://community.codefresh.io/t/background-task-or-start-docker-container/218>\
**Category:** Pipeline Workflows\
**Created:** [October 24, 2019, 2:38pm UTC](https://community.codefresh.io/t/background-task-or-start-docker-container/218 "2019-10-24T14:38:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mark](https://community.codefresh.io/u/mark)\
**Post date:** [October 24, 2019, 2:38pm UTC](https://community.codefresh.io/t/background-task-or-start-docker-container/218/1 "2019-10-24T14:38:17Z")

</div>

Is there any way to run a background command (nohup / &) or start a separate docker image to run a command against during a pipeline? We’re using Apollo Federation and want to run a validation step against a change in schema (apollo service:check) during the pipeline to break builds before schema breaking changes get deployed.

---

<div class="post-metadata">

**Author:** ![Raziel](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/raziel/32/100_2.png) [@Raziel](https://community.codefresh.io/u/Raziel)\
**Post date:** [October 24, 2019, 6:08pm UTC](https://community.codefresh.io/t/background-task-or-start-docker-container/218/2 "2019-10-24T18:08:52Z")

</div>

hi how about service containers

> **[Service Containers](https://codefresh.io/docs/docs/codefresh-yaml/service-containers/)**
>
> How to use sidecar services in your pipelines

is that what you meant?

---

<div class="post-metadata">

**Author:** ![mark](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mark](https://community.codefresh.io/u/mark)\
**Post date:** [November 6, 2019, 3:38pm UTC](https://community.codefresh.io/t/background-task-or-start-docker-container/218/3 "2019-11-06T15:38:39Z")

</div>

That works perfectly, thanks Raziel, an RTFM moment, sorry!

---

<div class="post-metadata">

**Author:** ![kristofer](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kristofer/32/19_2.png) [@kristofer](https://community.codefresh.io/u/kristofer)\
**Post date:** [November 6, 2019, 10:16pm UTC](https://community.codefresh.io/t/background-task-or-start-docker-container/218/4 "2019-11-06T22:16:29Z")

</div>

Happens to the best of us. 😉
