Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Multiple docker services

gsakkis October 7, 2019

Is it possible to define more than one docker service with different memory limits? Something like:

definitions:
services:
docker-low:
memory: 3072
docker-high:
memory: 7168
pipelines: default: - step:
        
services:
          - docker-low
        script: echo 'low mem docker'
- step:
        services:
          - docker-high
size: 2x
        script: echo 'high mem docker'
 

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 21, 2019

This is currently only possible for non-docker services.  the 'docker' service name is currently reserved with non override-able image name.

I can see how once you require more memory in one step and increase size to 2x, we somewhat force you to use 2x in all other steps once you need a docker-in-docker container. In the long term we should decouple the service type from name and additional configuration like memory limits.

Feel free to file a JIRA ticket via https://support.atlassian.com/bitbucket-cloud/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events