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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,284
Community Members
 
Community Events
184
Community Groups

Container 'docker' exceeded memory limit.

I have been trying to run sonarcloud on a repository using Bitbucket PHP pipeline and it returns "Container 'docker' exceeded memory limit.".


image: composer:2.0

clone:
depth: full # SonarCloud scanner needs the full history to assign issues properly

pipelines:
default:
- parallel:
- step:
name: Test
script:
- composer install
- ./vendor/bin/phpunit test
caches:
- composer
- step:
name: Lint
script:
- composer install
- ./vendor/bin/phplint . --exclude=vendor
caches:
- composer
- step:
name: sonarcloud
script:
- pipe: sonarsource/sonarcloud-scan:1.4.0
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6
caches:
- composer

i don't know how to address the error message.

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 11, 2022

Hey @Oluwaseun Oyebowale 

Welcome to the community.

The error message you've shared indicates that the memory allocated to the docker service container is insufficient. 

However, I can't see any docker services in your YAML config, so I wonder if you have any other services in the YAML.

Nevertheless, the default memory limit for the Docker service container is 1024 MB. So the error means your services are using more than the allocated memory. 
You can increase the memory allocated to the Docker service container as below.

 definitions:
  services:
    docker:
      memory: 2048

I hope this helps.

Cheers,
Syahrul

Thank you for the feedback

Like Syahrul likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events