rucio / containers

Containers for Rucio
Apache License 2.0
8 stars 54 forks source link

Change clients to have a login bash as entrypoint #285

Closed maxnoe closed 4 months ago

maxnoe commented 5 months ago

This makes it possible to directly run a command in the docker image like this:

docker run [...] -v rucio-clients rucio download test:test.dat

-l is necessary to have bash load the startup script in /etc/profile.d/ which sets up the rucio config.

Alternatively, that code could also be integrated into the entry point.

maxnoe commented 5 months ago

@bari12 @rcarpa could you have a look? I am happy to adapt if you want something differently

maxnoe commented 4 months ago

@maany That should be docker run, right? exec requires an existing container

Edit: sorry, I see what you mean, that also wasn't possible before.

bari12 commented 4 months ago

Awesome, thanks a lot!