You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As dask-drmaa and dask-jobqueue are both making use of Docker images for testing against job schedulers, wondering if we can pool these Docker files somewhere. Also might be good to build these in advance and host them on Docker Hub or Quay so that we can just pull them down for testing on CIs instead of rebuilding them from scratch each time.
Thinking about this, because the Travis build time can be quite long.
If we push some of our image to Dockerhub, how will we update them? Will we need to update them?
I see several possibilities:
Push images that contains only the non Conda and Dask part, e.g. only the schedulers. We can push a sge-master and sge-slave image, for PBS it is also possible to pus a PBS:14.1.2 image. For Slurm we already do this. We then just install conda on top of that. Slurm is the fatest build, but it still takes close to 300 seconds to build the conda part of the docker image!
We build images with scheduler + conda env, without dask (and eventually other key modules).
We build images with everything, except dask-jobqueue.
For the two last options: what versions should we pin? Can we still have a kind of automated image build if one of our major dependency is updated (e.g. distributed or dask), or will we have to do it manually? Could we for example rely on requirement.txt to rebuild image only when modified?
On Tue, Nov 20, 2018 at 4:17 PM Guillaume Eynard-Bontemps < ***@***.***> wrote:
Thinking about this, because the Travis build time can be quite long.
If we push some of our image to Dockerhub, how will we update them? Will
we need to update them?
I see several possibilities:
- Push images that contains only the non Conda and Dask part, e.g.
only the schedulers. We can push a sge-master and sge-slave image, for PBS
it is also possible to pus a PBS:14.1.2 image. For Slurm we already do
this. We then just install conda on top of that. Slurm is the fatest build,
but it still takes close to 300 seconds to build the conda part of the
docker image!
- We build images with scheduler + conda env, without dask (and
eventually other key modules).
- We build images with everything, except dask-jobqueue.
For the two last options: what versions should we pin? Can we still have a
kind of automated image build if one of our major dependency is updated
(e.g. distributed or dask), or will we have to do it manually? Could we for
example rely on requirement.txt to rebuild image only when modified?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#52 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszAVN78Tm70hozTP7hVR6pzAfQPXGks5uxHFtgaJpZM4TyyqF>
.
I think a logical first step would be to push the pbs, slurm, etc images to docker hub. That will really help simplify things on our end and will be a good first step toward speeding things up in the CI tests. Once that is done, we can go over how to install dependencies.
Reacted by jakirkham and Guillaume Eynard-Bontemps
Activity
guillaumeeb commentedon May 4, 2018
For the PBS part, I'm trying talk with PBSPro organization to make them improve their images, so that we can depend on it, see http://community.pbspro.org/t/pbs-public-docker-image-improvement/887 discussion.
More generally, do we have some namespace in dockerhub where to put these images, or do we want to host them in user namespaces?
mrocklin commentedon May 4, 2018
mrocklin commentedon May 4, 2018
guillaumeeb commentedon Nov 20, 2018
Thinking about this, because the Travis build time can be quite long.
If we push some of our image to Dockerhub, how will we update them? Will we need to update them?
I see several possibilities:
For the two last options: what versions should we pin? Can we still have a kind of automated image build if one of our major dependency is updated (e.g. distributed or dask), or will we have to do it manually? Could we for example rely on requirement.txt to rebuild image only when modified?
mrocklin commentedon Nov 21, 2018
jakirkham commentedon Nov 21, 2018
If you're ok not having a solver that is... 😕
mrocklin commentedon Nov 21, 2018
guillaumeeb commentedon Nov 21, 2018
So you're proposing to have pre-built images with everyting, and just pip update (or the equivalent with conda) key modules like dask and distributed?
Where would we store the Dockerfiles? We would build and push this images manually? How often?
jhamman commentedon Nov 22, 2018
I think a logical first step would be to push the pbs, slurm, etc images to docker hub. That will really help simplify things on our end and will be a good first step toward speeding things up in the CI tests. Once that is done, we can go over how to install dependencies.
mrocklin commentedon Nov 22, 2018
guillaumeeb commentedon Jan 14, 2019
As @lesteve mentionned in #215, there is a PBS Docker image tagged correctly available in Dockerhub https://hub.docker.com/r/pbspro/pbspro/tags.
lesteve commentedon May 23, 2020
We are now using Docker images on dockerhub thanks to #432, closing.