Sign inSign up

andypohl/bosco

By andypohl

•Updated over 9 years ago

BOSCO running within a Docker container to connect to grids running things like HTCondor.

Image
0

555

andypohl/bosco repository overview

⁠bosco-docker

The goal is to have BOSCO running in a Docker container and connect that to some HTCondor submit node. It seems to work (See issues/problems below).

⁠How to use this Docker image:

The basic strategy is to:

  1. Pull this image from Docker Hub.
  2. Set up BOSCO inside a container.
  3. Quit/save the container as a new image that is only local (it's important not to push this saved image to Docker Hub because SSH keys are saved inside the image).
  4. Remove this image from your computer's Docker repository (optional, but tidier).
  5. Start using BOSCO inside a new container started from the new local image.
⁠Steps
[andy@laptop ~]$ git clone https://github.com/andypohl/bosco-docker.git
[andy@laptop ~]$ cd bosco-docker/examples/
[andy@laptop examples]$ docker run -ti --name bosco_setup -h bosco-docker andypohl/bosco
[submitter@bosco-docker submit]$ bosco_start
[submitter@bosco-docker submit]$ bosco_cluster -a username@<submit-node> condor 
[submitter@bosco-docker submit]$ bosco_stop
[andy@laptop examples]$ docker commit bosco_setup local/bosco
[andy@laptop examples]$ docker rm bosco_setup
[andy@laptop examples]$ docker rmi andypohl/bosco
[andy@laptop examples]$ docker run -ti --name bosco -h bosco-docker -v $(pwd):/home/submitter/submit local/bosco
[submitter@bosco-docker submit]$ bosco_start
[submitter@bosco-docker submit]$ condor_submit script.sub

Tag summary

Content type

Image

Digest

Size

128.4 MB

Last updated

over 9 years ago

docker pull andypohl/bosco