News:

Looking for documentation? Take a look on our wiki

Main Menu

Docker images for VirtueMart

Started by reinhold, January 03, 2016, 20:49:48 PM

Previous topic - Next topic

reinhold

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

balai


AH

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/
Regards
A

Joomla 4.4.5
php 8.1