# How to run docker service inside a Drone CI step?

**URL:** <https://drone.discourse.group/t/how-to-run-docker-service-inside-a-drone-ci-step/13571>\
**Category:** Drone Support\
**Tags:** integration, docker\
**Created:** [March 3, 2023, 3:20pm UTC](https://drone.discourse.group/t/how-to-run-docker-service-inside-a-drone-ci-step/13571 "2023-03-03T15:20:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyajitrpatnaik](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/satyajitrpatnaik/32/8725_2.png) [@satyajitrpatnaik](https://drone.discourse.group/u/satyajitrpatnaik)\
**Post date:** [March 3, 2023, 3:20pm UTC](https://drone.discourse.group/t/how-to-run-docker-service-inside-a-drone-ci-step/13571/1 "2023-03-03T15:20:36Z")

</div>

We have a case we are migrating from Travis CI to Drone CI.

We could install docker-compose successfully, but as soon as we run docker-compose, it fails with an error saying the docker service is not up.

Part of logs:

```auto
+ chmod +x /usr/local/bin/docker-compose
+ docker-compose up -d
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

```

Any way we can run docker and continue with docker-compose?
