linkedin / linkedin/oncall

Unable to use Docker Container

Open
#244 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.3k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

Running the commands from the Documents to run the docker version has no errors when run. However when trying to connect to localhost:8080 the site throws an internal server error

Commands run:
mkdir output
python gen_packer_cfg.py ./oncall.yaml | tail -n +2 > ./output/oncall.json
packer build -only=docker ./output/oncall.json
docker run --name oncall-mysql -e MYSQL_ROOT_PASSWORD='1234' -d mysql --default-authentication-plugin=mysql_native_password
docker run -d --link oncall-mysql:mysql -p 8080:8080 -e DOCKER_DB_BOOTSTRAP=1 quay.io/iris/oncall

Ran Docker Events& showed no issues

Running docker exec -it (container) bash and looking at processes shows Nginx Master and minion running

Running local for test environment is working but I need this dockerized and able to run with my iris instance.

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 by reproducing the documented Docker setup using gen_packer_cfg.py, the Packer build, MySQL container, and quay.io/iris/oncall command, then inspect the container at localhost:8080. Compare the working local test environment with the Dockerized setup and use the reported internal server error and running Nginx processes to narrow the failure. Done means the Dockerized Iris instance loads successfully without an internal server error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mysql, nginx, python
Domain
backend, databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.