#How can I run a container with dagger?
1 messages · Page 1 of 1 (latest)
👋 for 2 you can use the Export feature to load it into your docker engine afterwards https://docs.dagger.io/252029/load-images-local-docker-engine/#approach-1-use-an-exported-tarball
I'm not entirely sure I understand 1. What's the use-case?
case 1 is all-in-one python SDK pipeline
Thanks! I'll work with
you mean building and running the container?
I guess it really depends on where you want to run that container, but if that's docker , you can definitely orchestrate all that in python if required.
- Use the Dagger SDK for the build pipeline
- Use the python docker SDK to
loadandrunthe container
the main reason why running the container is not part of the Dagger python SDK is because it's a different model entirely if you're planning to do it for long lasting tasks