# Docker in docker?

**URL:** <https://drone.discourse.group/t/docker-in-docker/8092>\
**Category:** Drone Support\
**Created:** [October 24, 2017, 7:24am UTC](https://drone.discourse.group/t/docker-in-docker/8092 "2017-10-24T07:24:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amq](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/amq/32/5458_2.png) [@amq](https://drone.discourse.group/u/amq)\
**Post date:** [October 24, 2017, 7:24am UTC](https://drone.discourse.group/t/docker-in-docker/8092/1 "2017-10-24T07:24:12Z")

</div>

I’d like to do

```auto
docker-compose up -d

```

as part of testing. I understand that it can be done with a trusted repository, but I don’t want to take the risk.

Seems like `plugins/docker` is able to do what I want, but it fails if I don’t specify the publish-related stuff. I want to use it without publishing.

Another alternative could be `services`, but I want to avoid maintaining both them and `docker-compose.yml`.

---

<div class="post-metadata">

**Author:** ![omerxx](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/omerxx/32/3956_2.png) [@omerxx](https://drone.discourse.group/u/omerxx)\
**Post date:** [October 28, 2017, 9:36pm UTC](https://drone.discourse.group/t/docker-in-docker/8092/2 "2017-10-28T21:36:31Z")

</div>

Since you’re already maintaining a .drone.yml and a docker-compose file, the right way to go is using `services`, like you suggested.  
It shouldn’t be frequently changed assuming you’re separating your services builds correctly.
