I’d like to do
docker-compose up -d
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 try always failed
the code from docs.drone.io/docker_dind
kind: pipeline
name: default
steps:
- name: test
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
- docker ps -a
- docker-compose -v # new
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
Error:
/usr/drone/bin/init: line 23: docker-compose: not found