Closed MarvinWeitz closed 1 year ago
The Documentation of the Low Level API shows a way to execute commands inside a container With this I came across multiple problems.
command="sleep infinity"
docker exec
which means they don't access the shell of the command → solved by adding bash -c
to the beginning of the commandcd
won't have an effect in the next execution → solved by tracking the working directory in a variable and passing it to the exec_create
functionThis now works, but its a little hacky...
This is now implemented in a better way in the shell-interface branch
The goal is to create a way to interact with the shell of a Docker container that was build from the latest image in the Jupyter Notebook.