VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: reinhold on January 03, 2016, 20:49:48 PM

Title: Docker images for VirtueMart
Post by: reinhold on January 03, 2016, 20:49:48 PM
Dear all,
I have found that for me Docker containers are an extremely helpful and efficient way to set up testing environments for various VM / Joomla versions.

I have now uploaded my docker images (VM3 on J3 automatic installation, VM3 on J2 (manual) full installer, VM2 on J2 (manual) full installer) to hub.docker.com:

https://hub.docker.com/r/opentools/docker-virtuemart/

That page also contains the documentation on how to use the images to run VirtueMart containers. A little Docker knowledge is clearly required, though.

What I have not mentioned is that one can easily set up development environments by mounting local folders to the corresponding plugin directories in the container, e.g. by passing "-v /home/reinhold/VirtueMart/Plugins/Ordernumber/:/var/www/html/plugins/vmshopper/ordernumber "). Multiple different VM / Joomla versions then directly access the current development code of the plugin without the additional installation step.

Please let me know if you have any issues or suggestions (preferrably, of course, in the form of a git pull request ;) ... ).

Best regards,
Reinhold
Title: Re: Docker images for VirtueMart
Post by: balai on January 04, 2016, 10:28:12 AM
Nice integration
Title: Re: Docker images for VirtueMart
Post by: AH on January 04, 2016, 12:57:36 PM
I believe that Docker containers are single application containers -

Why not use LXC , I read that it is more flexible and easier to port

https://www.flockport.com/lxc-vs-docker/ (https://www.flockport.com/lxc-vs-docker/)