docker build -t dimuthuupe/ipykernel:1.0 .
- Start a fresh session :
docker run --cap-add=SYS_PTRACE -it -p 8888:8888 dimuthuupe/ipykernel:1.0
- Load from an exported session :
docker run --cap-add=SYS_PTRACE -it -p 8888:8888 -v <ARCHIVE_FILE>:/opt/ARCHIVE.zip dimuthuupe/ipykernel:1.0
%load_ext StateCaptureMagic
: Loads the magic extension%load_local_context
: Loads python runtime if an exported session archive is mounted%export_states createArchive=True
Exports the current session and provides a link to download it
python3 -m venv ENV
source ENV/bin/activate
pip install wheel
pip install ipykernel/
pip install tools/state_capture_magic
jupyter kernelspec install --user /home/dimuthu/code/iPython-Kerner-Changes/ipykernel/
pip install notebook
jupyter notebook --ip 0.0.0.0
sudo python3 tools/tracing-server/strace_server.py