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

Docker help #185

Open
neurologic opened this issue Dec 16, 2024 · 2 comments
Open

Docker help #185

neurologic opened this issue Dec 16, 2024 · 2 comments
Labels

Comments

@neurologic
Copy link

Hi,
I have a Mac M1 desktop (from 2020) running Sonoma 14.6.1.
I am new to trying to work with Docker, so I might be missing something obvious, but I am having trouble getting Igneous going in Docker. I have been through an initial set of Docker tutorials with the desktop app and have successfully pulled, built, run the welcome-to-docker application using the Docker. So I have some general sense of how to make it work. Now I have obtained the image for Igneous in the Docker Desktop, but when I try to run it quickly says "Exited (1)".
I used the Docker Terminal to activate my local environment that I created for this work and did pip install igneous-pipeline, but the image still did not run to a container.
Also, once it is an active container, do I run the igneous command line prompts in the Docker Desktop terminal (rather than my Mac terminal?).
Thank you for help!
-Krista

@william-silversmith
Copy link
Contributor

Hi Krista,

If you're using the docker pull seunglab/igneous image, I have a similar machine (M1 2021) and I think there's an architecture difference. I think building the dockerfile on Apple Silicon tries to build as linux aarch64... unfortunately library support for aarch64 is sparse though all my libraries support arm64 (native for M1).

If you want to run this on an amd64 / x86_64 cluster, you can try setting up rosetta2 and set the platform to linux/amd64 to cross compile. If you're trying to run this locally, I would recommend just using a conda or virtualenv environment. Installation should go much more smoothly.

@neurologic
Copy link
Author

Ok, thank you for the information.
Yes. I have igneous currently working with my local terminal application and a conda environment set up for it. It sounded like the Docker was a helpful tool, but if running it directly in my local environments is just as good then I am all set.

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

No branches or pull requests

2 participants