If I have 2 defined services, the first named `cache` and the second named `db` how do I link them to a docker container i'm building as part of my steps?
- docker run -d -p 80:80 -p 443:443 -v --link cache --link db $BITBUCKET_CLONE_DIR:/data/sites/www/current --name web mydockername/mydockercontainer:latest
pipelines:
branches:
my-branch-name:
- step:
caches:
- docker
services:
- docker
- cache
- db
script:
- docker run -d -p 80:80 -p 443:443 -v --link cache --link db $BITBUCKET_CLONE_DIR:/data/sites/www/current --name web mydockername/mydockercontainer:latest
definitions:
services:
cache:redis:3.0.7
db: mysql:5.6