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

Develop script to launch jupyter lab #43

Closed
3 tasks done
Tracked by #16
glemieux opened this issue Aug 29, 2024 · 4 comments
Closed
3 tasks done
Tracked by #16

Develop script to launch jupyter lab #43

glemieux opened this issue Aug 29, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@glemieux
Copy link
Collaborator

glemieux commented Aug 29, 2024

Tasks

Preview Give feedback
  1. wontfix
@glemieux glemieux changed the title (Optional) develop docker compose post-hook script to launch notebook Develop docker compose post-hook script to launch notebook Sep 3, 2024
@glemieux
Copy link
Collaborator Author

glemieux commented Sep 4, 2024

It appears that while there are pre and post hooks for building docker images, docker-compose does not offer such functionality for running processes on the host: docker/compose#1341.

There are work arounds for having a container run a script on the host as part of the entrypoint commands, but this is more complicated then simply running docker exec tutorial-notebook jupyter server list.

The simplest option for providing the tutorial users with an less complex method for firing up the notebook is to provide a simple launch script that searches the log file for the url and opens it.

@glemieux glemieux changed the title Develop docker compose post-hook script to launch notebook Develop script to launch jupyter lab Sep 4, 2024
@glemieux glemieux added the enhancement New feature or request label Sep 4, 2024
@glemieux
Copy link
Collaborator Author

glemieux commented Sep 4, 2024

@glemieux
Copy link
Collaborator Author

glemieux commented Sep 6, 2024

Handy command line reference: https://ss64.com/

@glemieux
Copy link
Collaborator Author

glemieux commented Sep 6, 2024

Closing with 7ad6209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant