Skip to content

Conversation

@aecker
Copy link
Contributor

@aecker aecker commented Mar 6, 2018

I added a script to parse the logs to get the Jupyter token. Please someone review.

@jonasrauber
Copy link
Member

Is it necessary to write this to a file first?

@aecker
Copy link
Contributor Author

aecker commented Mar 6, 2018

If you know how to do it otherwise, let me know. I don't know how to get stderr into the grep.

@matthias-k
Copy link

@aecker docker logs $1 2>&1 | grep ?token= should do the job. 2>&1 pipes everything from stderr to stdout.

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

Successfully merging this pull request may close these issues.

4 participants