Skip to content

pixi activation in a docker container #303

Answered by baszalmstra
colindaven asked this question in Q&A
Discussion options

You must be logged in to vote

You cannot globally activate a shell like you can with mamba/micromamba. If you want to run a command in a container you can simply do:

pixi run <your command goes here>

I would recommend adding pixi install to the RUN command in your docker to cache the installation of all dependencies.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by colindaven
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants