fastai / docker-containers

Docker images for fastai

Home Page:https://hub.docker.com/u/fastai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please Review

hamelsmu opened this issue · comments

@muellerzr / @jph00 can you please review this README and let me know if you have any thoughts or comments?

@giacomov please take a look and let me know your thoughts. Many thanks for your prior art which I built on top of. I put a note with a link to your name in the README.

Note that Docker Images are built daily. We can also manually trigger a build to happen any time through this menu:

image

Thanks, looks great!

I don't think the --allow-root option is necessary for Jupiter or the shell. Since we create a user in the Dockerfile and we set it as the USER, Jupiter will run as that user inside the container. It is a bit of a security risk because if somebody gets access to that Jupiter they could potentially become root and write with root privileges on some mounted volumes from the host.

I want to show folks how to switch to root if they want to for example if you want to install something or you are using the container for development purposes and not shipping it into a product. But the container doesn’t run as root by default.

Oh I see what you mean now I think too many examples have root in them by accident! I’ll change this now

awesome, looks perfect now.

Looking good. I'd remove the details tag and leave that whole section as a standard part of the readme. If you really think some of it needs to be collapsed, I'd suggest ensuring there's an introductory sentence e.g. "most people don't need to know , but if you do, for instance because , click below to view the details".

Also, please add a paragraph at the top saying that fast.ai recommends using anaconda in your home directory, and installing fastai directly into there, if possible - the docker containers are for those that need them for production, testing, online services, and so forth (or for those who can't use anaconda for some reason).