question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider phasing out Dockerfile support

See original GitHub issue

Custom Dockerfiles are going to be a source of neverending support problems as we make assumptions and requirements about what is present in the image. We already have requirements about JupyterHub version, and will probably develop new requirements over time, such as additional extensions, notebook server version, etc. These aren’t feasible unless we are performing non-optional installation steps in the image ourselves.

Pushing people toward a clear ‘run here’ script that is purely in addition to our own image setup should be hugely more supportable in the long run. Following the well-established pattern of .travis.yml should allow us to cover things much more rigorously while allowing users to perform additional actions, such as build steps or downloads (post-processing on the repo, essentially).

I would consider ~every case that can only be solved by Dockerfiles to be a bug requiring higher-level support elsewhere. The only one that I can’t really see a way to support is building from custom base images. I don’t see how that’s really supportable in the long run, though.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
willingccommented, Nov 29, 2017

Let’s go ahead and close it. We can open a new issue that limits usage or functionality at a later time.

1reaction
cboettigcommented, Nov 14, 2017

Understanding, using, and supporting containerization and the open container standard as a portable compute model definitely seems to have legs in the data science community in both academia and industry. Supporting this standard as a first-class citizen in the binder platform seems like a reasonable goal.

It’s super easy to create plenty of headaches in the existing approach anyway (e.g. try mixing some conda channels with conflicting opinions about system libraries), and tracking down incompatibilities or build failures because someone’s spatial data analysis package needs a different version of the postgis driver or whatnot. If people are bringing their own container then you can reasonably punt on the maintenance issue; while letting people bring containerized solutions from their particular community which is probably best placed to answer such thorny dependency config issues anyhow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes is deprecating Docker: What you need to know
It might seem a bit shocking to hear that Kubernetes is deprecating support for Docker as a container runtime starting with Kubernetes ...
Read more >
Best practices for writing Dockerfiles - Docker Documentation
Best practices for writing Dockerfiles. This document covers recommended best practices and methods for building efficient images.
Read more >
Don't Panic: Kubernetes and Docker
Update: Kubernetes support for Docker via dockershim is now removed. ... You can also discuss the deprecation via a dedicated GitHub issue.
Read more >
About the Docker node image deprecation - Google Cloud
The Kubernetes project is removing built-in support for the Docker runtime ... Consider accomplishing these tasks using other services outside the scope of ......
Read more >
Kubernetes vs Docker: Understanding Containers in 2022
Kubernetes has deprecated Docker. What now? Will you still be able to run your containers? Find out how this will influence your work....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found