From the course: Docker on Azure (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Define a template with volumes

Define a template with volumes

From the course: Docker on Azure (2019)

Start my 1-month free trial

Define a template with volumes

- [Narrator] If we want to actually build an environment that includes volumes, in general the best approach is to leverage the template engine, which is a recently new feature here. And we can search for it in the resources search bar or template. We should find template's preview. Now I often go ahead and pin the resources that I find so that they end up on my dashboard, and you can see I already have a templates component, here on my dashboard. They all go to the same location. We're going to go ahead and add a template. And give it a name. We're going to call this Docker Azure Storage. A template for storage. Oops, I want to save that. And then you can see that there's already a default schema template available. We're going to actually update this with a more complete one. If we look at our directory we have a multi-empty container JSON template, so this will be used for multiple videos here. We're…

Contents