docker container?

211 views
Skip to first unread message

Bess Sadler

unread,
Jan 20, 2021, 1:38:38 PM1/20/21
to Discuss
Dear Globus community,

I am in the process of setting up a Globus end point and attempting to integrate it into a data repository system. We use docker and Kubernetes for the rest of this application, and I'd very much like to have a docker image for Globus. I have looked on the internet for a docker image of Globus 4.x and I have not so far found one. Before I start attempting to make one myself, can anyone tell me whether such a thing already exists?

Thanks very much!

Bess Sadler
Notch8 Software

Chandin Wilson

unread,
Jan 20, 2021, 2:15:45 PM1/20/21
to be...@notch8.com, dis...@globus.org
From: Bess Sadler <be...@notch8.com>
Subject: [Globus Discuss] docker container?
Date: Wed, 20 Jan 2021 10:38:38 -0800 (PST)

> I am in the process of setting up a Globus end point and attempting to integrate it into a data repository system. We use docker and Kubernetes for the rest of this application, and I'd very much like to have a docker image for Globus. I have
> looked on the internet for a docker image of Globus 4.x and I have not so far found one. Before I start attempting to make one myself, can anyone tell me whether such a thing already exists?


Bess,

I didn't see anything when I went looking ~6-9 months ago.

Here's a starting point based on Centos7. It's a "fat" image that can have lots of stuff removed from the base c7 image:


FROM centos:7

USER root

# setup network
# reference from https://github.com/dotcloud/docker/issues/1240#issuecomment-21807183
RUN echo "NETWORKING=yes" > /etc/sysconfig/network

# Globus Connect Server
RUN curl -LOs https://downloads.globus.org/toolkit/globus-connect-server/globus-connect-server-repo-latest.noarch.rpm \
&& yum -y install globus-connect-server-repo-latest.noarch.rpm
RUN curl -LOs https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum -y install epel-release-latest-7.noarch.rpm
RUN yum -y install yum-plugin-priorities \
&& yum -y install globus-connect-server


This will get you a docker image with the globus-connect-server installed. For our use I then proceed to install sssd-ldap and copy in an sssd.conf for our environment, along with a globus-connect-server.conf.
Then the ENTRYPOINT is set to a small shell script that starts sssd and runs globus-connect-server-setup, using the environment variables GLOBUS_USER and GLOBUS_PASSWORD, to register the endpoint with Globus. Finally the globus-gridftp-server is started.

We then start this container at bootup time, mounting the "external" volumes as needed into the container.

Hope this helps,

--Chan

Chan Wilson NOAA GFDL & RDHPCS Toolsmith
General Specialist, Information Technology and Agriculture
chandin...@noaa.gov +1-608-216-5689

Bess Sadler

unread,
Jan 20, 2021, 5:26:39 PM1/20/21
to Chandin Wilson, dis...@globus.org
Chan, thank you so much, I will give this a try!

Jeffery, yes please, I would gladly take any advice you have on how to make things work.

Thank you!
Bess Sadler
Notch8 Software

rapier

unread,
Jan 20, 2021, 5:56:02 PM1/20/21
to dis...@globus.org
This is *old* but it may be a useful starting point
https://registry.hub.docker.com/r/jbasney/globus-centos6

This one looks newer but I haven't really looked at it yet
https://registry.hub.docker.com/r/dtnaas/globus/tags?page=1&ordering=last_updated

On 1/20/21 5:26 PM, Bess Sadler wrote:
> Chan, thank you so much, I will give this a try!
>
> Jeffery, yes please, I would gladly take any advice you have on how to
> make things work.
>
> Thank you!
> Bess Sadler
> Notch8 Software
>
> On Wed, Jan 20, 2021 at 2:15 PM Chandin Wilson <chandin...@noaa.gov
> <mailto:chandin...@noaa.gov>> wrote:
> chandin...@noaa.gov <mailto:chandin...@noaa.gov>
>          +1-608-216-5689
>
> --
> You received this message because you are subscribed to the Google
> Groups "Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to discuss+u...@globus.org
> <mailto:discuss+u...@globus.org>.

Marshall McDonnell

unread,
Feb 10, 2021, 10:28:13 AM2/10/21
to Discuss
Bess,

Sorry for delay, just joining the group and noticed your question.
I had worked on this myself over last few months.
Had exact same use case of mostly containerized applications except the GCS v4.

I did get this to work for me using Terraform to provision a server on AWS and then run it via a Docker contianer:

I will be honest though, I was ultimately targeting an on-prem OpenStack cloud so once I got this project so far as a prototype, I switched to working on that one.

I'd be happy to help, though!
Still have an invested interest.
But I am trying to migrate over to Globus Connect Server v5 in our application.

Best,
Marshall
Reply all
Reply to author
Forward
0 new messages