jenny-codes / blog-articles

0 stars 0 forks source link

debugging docker in CircleCI #1

Open jenny-codes opened 4 years ago

jenny-codes commented 4 years ago

Preliminary Hypotheses

  1. in-memory database
  2. Elasticsearch memory limit

in-memory: false, es: 2gib

in-memory-false-es-2gb

result: fail

in-memory: false, es: 1gib

in-memory-false-es-1gb

result: success

in-memory: true, es: 1gib

in-memory-true-es-1gb

result: fail

jenny-codes commented 4 years ago

CircleCI SSH Session

CircleCI message

circleci-ssh-message

SSH into remote-docker

ssh-into-circleci-remote-docker
jenny-codes commented 4 years ago

Stats and Variations

htop with fingershock/dynamodb

htop-with-fingershock-dynamodb

result: fail

htop with amazon/dynamodb

htop-with-aws-dynamodb

result: fail

htop with amazon/dynamodb and elasticsearch limit to 1gib

htop-with-aws-dynamodb-and-es-1gb

result: success

jenny-codes commented 4 years ago

SSH into Docker container

  1. Get the name of desired docker container.
docker ps
  1. Use name to run a bash session in that container
docker exec -it piccollageserver_test /bin/bash