Ultra Fast Web Development with Docker in Wappler

George Petrov
Wappler.io
Published in
5 min readNov 18, 2019

It’s a thing of the past to manually install various web and database servers on your local development machine.

We are excited to announce a game changing feature that has been integrated in Wappler, Docker! This tool makes running applications much easier with less technical hustle.

What is Docker?

You must have heard of Docker. This brand new technology allows you to run any application quickly and easy without any installation hustle. It empowers developers to quickly run their website or app in the required environment in seconds.

This tool is designed to make it simpler to create, deploy, and run applications using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.

Docker empowers developers to quickly run their website or app in the required environment in seconds. It also makes the live deploy really easy. You can quickly and easy scale up your app depending on its needs.

The powerful Docker technology used to be reserved to highly technical people and command line lovers — but this is no longer the case. Its powers are now available in Wappler — the Visual way!

Why Docker?

But what makes Docker stand out now that it has been implemented in Wappler? We are committed to provide you the best experience and visual tools you need to be able to produce beautiful solutions with less technical hustle. So Docker is a natural fit!

Imagine you want to build an application. This could be anything you want, ranging from the next big social media platform to any other service. This application needs to be available to the public, so it must be hosted somewhere. In the past, this was done by building your own computer and setting up a dedicated web service also known as a server. This could also be achieved through hosting companies.

The next big thing was the cloud. You could host your application with the help of data centers from bigger companies, basically just collections of servers.

This is where Dockers’ containers come in and change this entire process. The way docker works, is by instead of hosting each operating system per application, some of the common resources could be shared. This is a breakthrough for application developments — less hassle to “provision” giant virtual machines but only get minimum “containers” essential to host their applications.

The achieved result is that an application can be deployed or undeployed, start and stop, change to another image, process and do many things faster.

Docker Integration in Wappler

No more local installation of WAMP, MAPM with PHP, MySQL or other web and database servers that you might need to run your local development. Wappler does it all for you! You can easily setup your dev environment in a single click:

Docker Toolbar — When you save you project target with the Docker settings, you will see a special Docker toolbar in Wappler. You can start or stop all the services easily.

Docker Sample Data — Docker allows you to quickly start working with dynamic data on your pages, thanks to the included sample data and files:

Saving Database Data and Structure — Sometimes when you do a full Docker Image rebuild you need to save your current database structure and data and use it as initial data. That’s exactly what the new Save Database Data and Structure option does:

Docker Terminals — With Docker you have all those different servers, each running on their own. Sometimes you need to get into the shell of the specific service, explore and execute some commands. You can do this now super easy by just choosing the shell you want:

Docker Remote Deploy— Defining a Remote Docker Target and testing the connection to it has never been easier. Just enter your Docker Remote Settings and click the test button. Now you can deploy your work to any remote Docker host. Docker Remote Hosts are the machines on your hosting or cloud that you will be deploying your production solutions to:

Deploy in Seconds to the Cloud with Docker Machines

So you built your amazing dynamic site and want to put it live on the internet? This can be easily achieved using Docker Machines!

Docker Machines has support for full automated live server deployments in the cloud! It’s now easier than ever to get your web sites and apps to any cloud hosting in just a few clicks. With cloud hosting you are creating you own virtual server with all the powers of full dedicated server. With Docker Machines this virtual server is completely configured for you and Docker is installed. So you can deploy all the docker servers you want to it instantly.

Docker Machines in Wappler — Creating a new Docker Machine in Wappler and deploying your apps to it is very easy. You can manage them in the Targets section of your project:

Not using Wappler yet?

Download Wappler, and don’t forget to join our community forum! Share your experience, get help, showcase your work or just have nice chat with others.

--

--