Skip to content

Conversation

@algal
Copy link

@algal algal commented May 1, 2018

This commit resolves permissions error due to iSwiftKernel
being created and compiled as root in the Docker image
build process.

Now, it is still created and built as root, but it is
chowned to the notebook user (jovyan, aka NB_USER) and
the kernelspec install process is run as the notebook
user.

This makes it possible to run the docker image, create a
new notebook, and select Swift as the language. But there's
still some kind of problem with the kernel itself that
prevents it from responding. I suspect that is not due to
permissions or docker, but to code changes preceding this commit

pvieito and others added 3 commits April 17, 2018 01:27
NSRange uses UTF-16 while the implementation was using UTF-8.
This commit resolves permissions error due to iSwiftKernel
being created and compiled as root in the Docker image
build process.

Now, it is still created and built as root, but it is
chowned to the notebook user (jovyan, aka NB_USER) and
the kernelspec install process is run as the notebook
user.

This makes it possible to run the docker image, create a
new notebook, and select Swift as the language. But there's
still some kind of problem with the kernel itself that
prevents it from responding.
@algal
Copy link
Author

algal commented May 1, 2018

But there's still some kind of problem with the kernel itself that prevents it from responding. I suspect that is not due to permissions or docker, but to code changes preceding this commit

Actually, not true!

If you run with --privileged, it works

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.

2 participants