OWASP / OWASP/crAPI

dependency failed to start: container crapi-workshop exited

Open
#172 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.6k
Forks
645
Avg merge
37m
Merged PRs (30d)
1

Description

Describe the bug
After running "docker compose -f docker-compose.yml --compatibility up -d" I receive the error: dependency failed to start: container crapi-workshop exited (0)

To Reproduce
Steps to reproduce the behavior.

  1. Use the commands listed on github:
    (curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker- compose.yml
    docker compose pull
    docker compose -f docker-compose.yml --compatibility up -d) with Network of the VM set to NAT. Behaviour of crapi: all containers start and no errors are received.
  2. Shutdown the VM, change Network to internal network, and start VM. Use the last command and you'll receive the error.

Expected behavior
All containers should start.

Runtime Environment
Sytem/Environemnt information (e.g Output of docker -v and uname -a)
-Debian 11 running in VirtualBox 7
-Network of VM changed from the default NAT to Internal Network
-Docker Engine - Community Version: 23.0.1
-Docker Compose version v2.16.0
crapi-workshop log.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker-compose.yml and the attached crapi-workshop.log.txt, then reproduce the final docker compose command on Debian 11 in a VirtualBox VM using an Internal Network. Compare this run with NAT and inspect which dependency exits. Done means all containers start successfully in the reported network configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.