-
Notifications
You must be signed in to change notification settings - Fork 46
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
Micromamba not initializing correctly #359
Comments
Hello @jolespin. Thank you for the detailed report. I think there is some confusion about what command the image is executing by default.
Please let me know if that does or does not allow you to reach your goal. |
Thanks for getting back to me so quickly. It's working now. I'm still learning docker so please forgive some of the basics that I might be missing. Can you explain why this works:
but this doesn't work?
|
That is due to how your shell parses commands into individual arguments. |
Ya. In contrast, if you replace I only understood what was really happening once I looked at |
Here's my updated Dockerfile:
Building it like this:
I'm running it like this:
Hope this helps someone figure out how to use Docker. You're help was GREATLY appreciated today. Can't thank you enough for creating this and being helpful in running it. Looking forward to rebuilding all my images w/ micromamba. |
Does the ENV_NAME variable I created cause any conflict since ENV_NAME is used internally? |
Probably not, but for simplicity I'd recommend using the base environment unless you have a particular reason to use multiple environments in your container. |
Here's my current image building from this environment. Here's the repo for reference: https://github.com/jolespin/veba
install/docker/Dockerfile_test
The image builds without error. Here is the command I use:
When I try to run the image to check some basics, it doesn't look like it's properly initialized:
For my image, I'm doing the following:
My goal is to be able to run the container interactively like this:
However, the main use will be to mount volumes and deploy on personal computers and AWS:
The text was updated successfully, but these errors were encountered: