Question: Docker Galaxy default IP address?
0
gravatar for steve
2.2 years ago by
steve30
NYC
steve30 wrote:

I am trying to set up a tools list yml file, as per this example and these instructions

api_key: <Admin user="" API="" key="" from="" galaxy_instance="">
galaxy_instance: <Galaxy instance="" IP="">
tools:
- name: fastqc
  owner: devteam
  tool_panel_section_id: cshl_library_information
  tool_shed_url: https://toolshed.g2.bx.psu.edu
  revisions:
  - '8c650f7f76e9'  # v0.62
  - 'd2cf2c0c8a11'  # v0.63
- name: bedtools
  owner: iuc
  tool_panel_section_label: 'BED tools'
  revisions:
- 2cd7e321d259

How do you know what the "Galaxy instance IP" address will be before you have created the container or run the Docker Galaxy instance?

docker • 733 views
ADD COMMENTlink written 2.2 years ago by steve30

I would think 127.0.0.1 would always work.

ADD REPLYlink written 2.2 years ago by Devon Ryan1.9k

Right but that is the self-referential IP address. I have another Galaxy Docker started by another user which is accessible at an IP address such as 172.17.0.1; not sure how they got that, but it shows up under ifconfig, I thought this was the IP which was meant to be used here? Or, a web-accessible IP (which I don't have)?

ADD REPLYlink written 2.2 years ago by steve30

It's just a matter of whether you want to use it inside the container or not.

ADD REPLYlink written 2.2 years ago by Devon Ryan1.9k

I thought the point of the file was to set up tools that will be included when the container is started? Not sure what you mean.

ADD REPLYlink written 2.2 years ago by steve30
1
gravatar for Bjoern Gruening
2.2 years ago by
Bjoern Gruening5.1k
Germany
Bjoern Gruening5.1k wrote:

Steve you need to distinguish between runtime and build-time of a container. Tools in a flavor are installed during build-time. If I understand you correctly you want to install tools during run time. So you need to have a running container. So now you want to run the install script to install all tools from your yaml file, to do this you more or less have two options, run this script from inside the container ... or from outside of the container. Depending on this you need to change the IP address. This needs to be always the Galaxy instance. In your container this is 127.0.0.1 as Devon already said.

ADD COMMENTlink written 2.2 years ago by Bjoern Gruening5.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 177 users visited in the last hour