Hi to all,
I have an instance of bitbucket cloud , it is possible to create a docker service or docker stack (or compose) for pipeline runner to run on my EC2/Compute Engine/Linode?
even using code like this on my linux :
docker container run -dit \
-v /tmp:/tmp \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/containers:/var/lib/docker/containers:ro \
-e ACCOUNT_UUID={SOME_UUID} \
-e REPOSITORY_UUID={SOME_UUID} \
-e RUNNER_UUID={SOME_UUID} \
-e RUNTIME_PREREQUISITES_ENABLED=true \
-e OAUTH_CLIENT_ID={SOME_CLIENT_ID} \
-e OAUTH_CLIENT_SECRET={SOME_CLIENT_secret} \
-e WORKING_DIRECTORY=/tmp \
--name runner-tempsensors \
docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1
Hi @nioanto,
If you want to use a Docker service in your pipelines runner builds, you can configure it in the bitbucket-pipelines.yml file of your repo.
You can see an example in the following documentation (see section "Custom docker-in-docker image"):
Is this something that works for you?
In case you have a different requirement, could you please share some more details on what your requirement is and what you are trying to achieve?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.