I have a docker
container with JIRA
running in it. I have successfully configured JIRA
with the correct workflows/fields. I now want to create a docker
image of this so that I can propagate multiple copies of this configuration (yes, there's a licensing issue here, that's being addressed elsewhere).
I know to persist data I need to create a data
container
. But I don't want all my instances to use this same data volume - I just want my image to contain that data. But I'm not quite sure how to do this.
My thoughts are as follows:
- Create a data volume associated with my
docker
container. - Configure everything
- Docker commit (?)
- On the new system create a new data volume
- Load the image created in step 3
Is this going to accomplish my goals?