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

kong Run with --v (verbose) or --vv (debug) #66

Closed
AntonioCS opened this issue Feb 1, 2017 · 2 comments
Closed

kong Run with --v (verbose) or --vv (debug) #66

AntonioCS opened this issue Feb 1, 2017 · 2 comments

Comments

@AntonioCS
Copy link

Hey,

I sometimes have issues with kong and I get the msg:

Run with --v (verbose) or --vv (debug)

The Dockerfile has the command

CMD ["kong", "start"]

I am creating my own image because i need to put plugins code into kong, so I have something like this:

FROM kong:0.9.5

COPY ...
COPY ...
COPY ...
    
ENV DATABASE postgres 

Now.. is there a way for me to start kong in debug mode or do I have clone this repo and change the cmd to the debug mode?

If there is no way could some dev put the kong start in the docker-entrypoint.sh? I can override that in my image without issues.

Thanks

@patricksanders
Copy link

patricksanders commented Feb 24, 2017

A CMD entry in your Dockerfile will override the one in the base Dockerfile.

Adding the last line here to your Dockerfile should do what you want:

FROM kong:0.9.5

COPY ...
COPY ...
COPY ...
    
ENV DATABASE postgres 

CMD ["kong", "start", "--vv"]

@AntonioCS
Copy link
Author

Oh thanks. I really thought that could not be overwritten.

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

2 participants