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,559,686
Community Members
 
Community Events
185
Community Groups

Self-hosted Docker Runner using custom images times out or no such image found (404)

Edited

I have setup the Docker Runner on a Redhat 8 instance. When executing a simple pipeline, it eventually appears to time out or return a no images found message. Is the following correct? Do I need to define the location of the images, all of which are in Docker Hub?

I'm also seeing the following message on occasions during step1:

"Timed out after 5 minutes waiting for 2 remaining services to be ready"

definitions:
  services:
    docker-php74:
      type: docker 
      image: php:7.4.33-fpm
    docker-node-erbium:
      type: docker 
      image: node:erbium
      
pipelines:
  default:
    - step:
        name: Step 1
        runs-on: 
          - self.hosted
          - linux

        services:
          - docker-php74
        script:
          - docker info
    - step:
          name: Step 2
          services:
            - docker-node-erbium
          runs-on: 
            - self.hosted
            - linux

          script:
            - docker info
            - echo "This step will use the defult docker service defenition.";

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 05, 2022

Hi @Casey Local and welcome to the community.

You don't need to define the location for Docker Hub images. I suspect that the Docker images you are using may not be dind images, resulting in this error.

Can you try using the docker:dind image instead and see if your build succeeds?

I am also unsure why you are trying to use php and node images in the Docker service. If you want to use these images as a build container, you can use them in the definition of each step instead. You could try e.g. something as follows:

definitions:
services:
docker:
type: docker
image: docker:dind

pipelines:
default:
- step:
name: Step 1
image: php:7.4.33-fpm
runs-on:
- self.hosted
- linux
services:
- docker
script:
- docker --version
- step:
name: Step 2
image: node:erbium
runs-on:
- self.hosted
- linux
services:
- docker
script:
- docker info

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events