Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug capable images #5

Open
pulkitsinghal opened this issue Aug 24, 2016 · 0 comments
Open

Add debug capable images #5

pulkitsinghal opened this issue Aug 24, 2016 · 0 comments

Comments

@pulkitsinghal
Copy link
Contributor

pulkitsinghal commented Aug 24, 2016

Summary

Lets add Dockerfile-debug and docker-compose-debug.yml
that can be used when troubleshooting.

Motivation

The images for dolaterio are lightweight and built from scratch which makes it hard to troubleshoot ... maybe we should think of building/publishing debug capable images too?

Given the way the containers are right now ...

$ docker logs dolaterio_api_1
$ docker logs dolaterio_worker_1

gave no output

And attempting to attach to them failed as well:

$ docker exec -t -i dolaterio_api_1 /bin/bash
rpc error: code = 2 desc = oci runtime error: exec failed: exec: "/bin/bash": stat /bin/bash: no such file or directory
$ docker exec -t -i dolaterio_api_1 ls -alrt
rpc error: code = 2 desc = oci runtime error: exec failed: exec: "ls": executable file not found in $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant