This post will be an introduction to deploying web applications on dply.co using Docker containers, please note that the free tier of dply.co is only for 2 hours so you should only use it for trial purposes, of course, you can always pay to make it a production version/extending the availability of the VM.
Follow the first post to create an account and install Docker.
In the terminal window, we’ll need to install Docker compose using the following command;
curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
You’ll then need to apply executable permissions for the binaries using the following command;
chmod +x /usr/local/bin/docker-compose
In this step, we shall create the Joomla compose file from which we’re going to start the Joomla container, use the following command to achieve that;
Copy and paste the following commands in the newly created file and then close it, it’s worth noting that this is Bitnami Joomla image;
Now, we need to start running the container using the following command;
After the installation process is complete, you can log to your container from the browser using your IP address that you can get from your Dply dashboard e.g. (http://machine_IP).
Now, you’ll be directed to the Joomla installation window, just wait and it will start the installation automatically.
Now, you’ll be directed to your Joomla portal, use the username: user and password: bitnami to log in.
You’ll then be directed to your administrator panel.
Congratulations, you’ve successfully installed a Joomla container on Dply, we’re going to cover installing more web applications images using Docker on Dply in the following posts.