jayfk / jayfk/docker-recipes

Container command '/bin/bash' not found or does not exist.

Open
#1 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi, tried to use the example but fails so start.

➜ auto-haproxy git:(master) docker-compose up -d
autohaproxy_app_1 is up-to-date
Starting autohaproxy_haproxy-gen_1

ERROR: for haproxy-gen Container command '/bin/bash' not found or does not exist.
Traceback (most recent call last):
File "", line 3, in
File "compose/cli/main.py", line 63, in main
AttributeError: 'ProjectError' object has no attribute 'msg'
docker-compose returned -1

Think docker has change how volumes are created and the naming now uses catalog name.

➜ auto-haproxy git:(master) docker volume ls | grep haproxy
local autohaproxy_haproxy_cfg

➜ auto-haproxy git:(master) docker-compose -v
docker-compose version 1.7.1, build 0a9ab35

➜ auto-haproxy git:(master) docker -v
Docker version 1.11.2, build b9f10c9

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `docker-compose up -d` with Docker 1.11.2 and docker-compose 1.7.1, then inspect the `haproxy-gen` service command and the `autohaproxy_haproxy_cfg` volume shown in the report. Done means the example starts without the `/bin/bash` command error and `docker-compose` exits successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.