https://github.com/courbeb/kernelcreator
Create offline ipython kernel with docker
https://github.com/courbeb/kernelcreator
docker ipython ipython-notebook jupyter jupyter-notebook kernel
Last synced: 2 months ago
JSON representation
Create offline ipython kernel with docker
- Host: GitHub
- URL: https://github.com/courbeb/kernelcreator
- Owner: CourbeB
- Created: 2017-06-16T12:45:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-16T13:11:20.000Z (over 8 years ago)
- Last Synced: 2025-06-23T14:47:56.992Z (6 months ago)
- Topics: docker, ipython, ipython-notebook, jupyter, jupyter-notebook, kernel
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kernelCreator
## How to build and install a new kernel
### On your local computer
First build the image
`docker build .`
Then run your image
`docker run -v /Users/bcourbe/Desktop/kernelCreator:/extract -i IMAGE`
After running this 2 commands, you should have an archive in /Users/bcourbe/Desktop/kernelCreator which contains the kernel.
Note that you can modify the requirements.txt and add more dependencies before building the docker image.
### On your server (without access to internet)
```
tar -xvzf my_env_offline.tar.gz
rm -f my_env_offline.tar.gz
source activate my_env_offline
python -m ipykernel install --user --name my_env_offline --display-name my_env
source deactivate
```