Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow mounting custom volume directories #722
This pull request solve the issue #376.
This pull request updates the "Volumes" sub tab panel of the "Settings" container tab with a line to add new volumes:
Writing a path, clicking the plus and then 'Save' will update the container so that a new folder is available but empty.
Then selecting a local folder using the 'CHANGE' button will now refresh correctly the UI (before it was refresh only when going somewhere else and then back to the tab) and also will Bind the local path to the Docker path.
Now you can click the 'REMOVE' button to unlink the local folder (not new) or you can use the X button to remove completely the volume, which will re-create immediately the container (also there were a bug here with the
Last but not least, the 'RESET' button allow the user to revert the changes until he clicks the 'SAVE' button.
This is a bug in Kitematic. I have already noticed it but didn't fixed it.
A workaround would be to click the 'SAVE' button and then open another tab and come back to the 'Volumes' tab.
I will check that.
This is a good idea. It could be done now or later.
Thanks for the replies - Regarding the following: