Hey Tiffany Seale
Thats an great question and thanks for posting the question and QandA platform,
It's crucial to make sure that your approach aligns with best practices.lemme drop you a few pointers
so when working with Docker images in Azure Batch, consider storing necessary files in Azure Batch File Shares or Azure Storage instead of adding them directly to the Docker image. You can then mount these shares during task execution, ensuring efficient file management. Avoid relying on files added during the Docker image build, and use tools like azcopy
or wget
within your Batch tasks to download files as needed.
For large files, Azure Storage is a good option. You can download the required files from Azure Storage within your Batch tasks.
If your files are in Azure Blob Storage, you can use tools like BlobFuse
to mount blobs as directories inside your Docker container.
If this helps kindly accept the answer thanks much.