Mercurial > repos > mvdbeek > docker_scriptrunner
annotate README.md @ 2:495946ffc2d6 draft default tip
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
author | mvdbeek |
---|---|
date | Sun, 22 Jul 2018 13:38:01 -0400 |
parents | 21d312776891 |
children |
rev | line source |
---|---|
2
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
1 [![Build Status](https://travis-ci.org/ARTbio/docker-scriptrunner.svg?branch=master)](https://travis-ci.org/ARTbio/docker-scriptrunner) |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
2 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
3 You need to have docker |
0
21d312776891
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff
changeset
|
4 Docker scriptrunner for galaxy |
21d312776891
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff
changeset
|
5 ----------------------------- |
21d312776891
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff
changeset
|
6 |
21d312776891
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff
changeset
|
7 This is a [galaxy](https://github.com/galaxyproject/galaxy) tool that allows |
21d312776891
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff
changeset
|
8 users to submit random scripts. |
2
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
9 You can install it on your galaxy server from the [galaxy toolshed] (https://toolshed.g2.bx.psu.edu/view/mvdbeek/docker_scriptrunner/). |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
10 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
11 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
12 This tool is heavily inspired by Ross Lazarus' tool factory |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
13 (https://www.ncbi.nlm.nih.gov/pubmed/23024011), but removes the ability to |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
14 create galaxy tools. (If you are looking at creating galaxy tools, you may want |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
15 to use [planemo](https://planemo.readthedocs.io/en/latest/)). |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
16 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
17 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
18 You need to have docker installed on any machine that can run |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
19 galaxy jobs, or route this tool to a dedicated docker host |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
20 in galaxy's job_conf.xml. Note that the tool itself talks |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
21 to the docker daemon and bypasses galaxy's docker configuration. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
22 Making use of galaxy's docker capabilities is on the roadmap. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
23 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
24 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
25 The tool comes with two docker images that can be easily extended. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
26 "artbio/scriptrunner" is a base image, that has very few dependencies installed. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
27 You can extend the image by following the example in the dockerfiles/r-bioperl-python |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
28 folder. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
29 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
30 |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
31 All security relies on docker; the container only mounts those files that the user |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
32 has selected as input files, and the script itself drops privileged inside |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
33 the container. This should be secure, but caution should be taken on public servers. |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
34 By default the container has networking enabled, so make sure your firewall rules |
495946ffc2d6
planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
mvdbeek
parents:
0
diff
changeset
|
35 forbid traffic to the local network. |