Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running LTRpred docker container in userspace with udocker #16

Closed
ibebio opened this issue Jun 4, 2020 · 6 comments
Closed

Running LTRpred docker container in userspace with udocker #16

ibebio opened this issue Jun 4, 2020 · 6 comments

Comments

@ibebio
Copy link

ibebio commented Jun 4, 2020

The LTRpred docker container can be run on systems where docker is not available and root privileges are not an option via udocker. Udocker is written in Python and can be installed via pip. The following sequence of commands starts up the LTRpred container in user space:

# Create and activate conda environment, optional
conda create -n udocker_prod -c defaults python=2.7
conda activate udocker_prod

# Install most recent version from udocker github repo
pip install git+https://github.com/indigo-dc/udocker

# Prepare container
udocker pull drostlab/ltrpred
udocker create --name=ltrpred drostlab/ltrpred

# Required on some systems to run the container
export PROOT_NO_SECCOMP=1

# Run container
udocker run ltrpred
HajkD added a commit that referenced this issue Jun 10, 2020
@HajkD
Copy link
Owner

HajkD commented Jun 10, 2020

Dear Ilja,

Thank you so much for this absolutely brilliant suggestion!

This will help a lot of users to run the LTRpred Docker container in a Conda environment and doesn't require a conversion to Singularity containers.

Many thanks,
Hajk

@HajkD HajkD closed this as completed Jun 10, 2020
@123jjhy
Copy link

123jjhy commented Jul 1, 2024

Hi,
Ask if this method also necessarily requires root permissions?
Uploading image.png…

@HajkD
Copy link
Owner

HajkD commented Jul 1, 2024

Not when it is converted to a Singularity Container.

@123jjhy
Copy link

123jjhy commented Jul 1, 2024

What is a Singularity Container? I am a green hands,could you give me some more Pointers?

@HajkD
Copy link
Owner

HajkD commented Jul 2, 2024

@123jjhy
Copy link

123jjhy commented Jul 3, 2024

OK. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants