Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

Speeding up EdWeb development with Docker

One of the problems often reported by developers using the EdWeb distribution is the time it takes to get up and running, even for early development and testing work. We decided to use Docker to create UoE Docker, which sets up an EdWeb distribution quickly by building an image of it.

Setting up the EdWeb distribution takes 40 minutes to complete, as you need to set up the correct Web-server configuration, including setting up MySQL, PHP and Apache versions.With Docker, set-up takes a matter of minutes and allows for testing and development work before making changes on your live site.

What is Docker and how did we use it?

Docker is an application which contains the complete filesystem and libraries needed to run a virtual machine.

We built the image from scratch, which involved a lot of investigation and false starts. I started off using Docker Composer, using many different images. This caused database problems and made it difficult to automate the process of installing EdWeb – we are now using a Dockerfile instead to build one whole image from scratch.

We also needed to build a Bash script to make the user interface much simpler, so it’s easier to get Docker up and running.

Who is UoE Docker for?

UoE Docker has containerised EdWeb, and it is very useful  to quickly fire up multiple environments which are isolated from the Host environment. It is primarily aimed at helping developers to collaborate – we first started to develop it for use at the EdWeb code sprints.

EdWeb Code Sprints wiki page

It’s also very useful for development teams where members have been bound to different development environments, to give them one common environment to collaborate more easily. There has been demand for this within the web community for some time.

How do I get it?

Docker is going to be released on 15th of March, where we are going to hold a workshop to help people to prepare for the upcoming codesprint.

You can find more information how to download Docker and how to setup UoE Docker at the wiki page:

UoE Docker wiki guidance

1 replies to “Speeding up EdWeb development with Docker”

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel