I've put together a plugin for managing your Docker images/containers within OMV. I know there are already other plugins available for this purpose, but I wanted something which felt like OMV'ish look and feel. The plugin is available in the omvextras Docker Testing repo if you want to give it a try. My goal has been to make a plugin that helps me out with working with Docker on a daily basis, and I'm not a Docker guru so there are quite some "poweruser" stuff missing. However this is the current feature list:
- Pull images
- Search images on Docker Hub
- List installed images
- "Run" an image with a number of parameters (network settings, environment variables etc.)
- Get detailed info on an image
- Delete images
- Start/Stop/Restart/Delete containers
- "Copy" a container with it's settings into a new container
- Get detailed info on a container
- List installed containers
- Relocate the Docker base path (defaults to /var/lib/docker) to a shared folder
- Copy existing images/containers to the shared folder
- Change network port that the Docker API listens on
Changelog:
openmediavault-docker-gui (0.2.18) testing
* Add support for host name to the run container dialog
* Auto wrap description text on repo tab
* Add filtering on repo/image names in grids
* Add state column with filtering to container grid
* Make it possible to commit a container
* Add checkbox to allow container time synchronization with host
* Add autocomplete to container-side bind mounts
openmediavault-docker-gui (0.2.17) testing
* Add tooltips to the Run Container dialogue
openmediavault-docker-gui (0.2.16) testing
* Add extra parameters field
openmediavault-docker-gui (0.2.15)
* Fix problem with base path relocation not surviving reboots
openmediavault-docker-gui (0.2.14)
* Fix missing requirements for Repo tab
* Minor layout change on Repo tab
openmediavault-docker-gui (0.2.13)
* More error handling when it comes to base path relocation
openmediavault-docker-gui (0.2.12)
* Fix potential problem if base path is manually relocated
* Simplify make process
* Improved remove script
* Make base path relocation survive reboots
openmediavault-docker-gui (0.2.11)
* Fix top bar buttons disable in grids on load
openmediavault-docker-gui (0.2.10)
* Create folder required for base path relocation
openmediavault-docker-gui (0.2.9)
* Use bind mounts to relocate base path
openmediavault-docker-gui (0.2.8)
* Remove noexec option from fstab when relocating base path
openmediavault-docker-gui (0.2.7)
* Even better images search
openmediavault-docker-gui (0.2.6)
* Fix Docker image search
openmediavault-docker-gui (0.2.5)
* Fix conflicting class names
* Use RootFolderBrowser provided by omv-extras
openmediavault-docker-gui (0.2.4)
* Made it possible to create data containers
* More PHP code fixes to follow coding standards
* Made it possible to create a data volume
* Made it possible to specify volumes-from in a container
* Made it possible to copy data containers
* Escape spaces from input forms
* Improved error handling for the Docker repo grid
openmediavault-docker-gui (0.2.3)
* Fixed indentation
* Removed closing php tags
* Better compliance with PHP coding standards
* Changed some license texts
* Layout fix for RunContainer component
openmediavault-docker-gui (0.2.2)
* Made it possible to execute command inside container
* Docker repo feature implemented
openmediavault-docker-gui (0.2.1)
* Added license information
* Code refactoring
* Prepare for translations
openmediavault-docker-gui (0.2.0)
* Beta release
* Layout change to the RunContainer component
openmediavault-docker-gui (0.1.0)
* Initial release.
Here are some screenshots to give you an idea what it looks like:
Keep in mind that this is a TESTING release and thus only install this in a VM or other test environment!
How to install:
- Install omvextras plugin as described here: http://omv-extras.org/simple/i…install-omv-extras-plugin
- Install backports kernel (there is a tab for this purpose in the omvextras plugin)
- Reboot
- Enable the Docker Testing repo in the omvextras plugin
- Locate and install the openmediavault-docker-gui plugin in the plugins section of OMV (it's in the Virtualization section of plugins)
- Done! The plugin is in the Services section of OMV
Hope you will like it