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 available for 2 hours so you should only use it for trial purposes, of course, you can always pay to make it a production version/extend the availability of the instance.
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;
sudo curl -o /usr/local/bin/docker-compose -L “https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)”
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 pull OpenNote Docker repo using the following command;
docker pull foxusa/opennote
Now, we should run the docker container to start the installation process using the following command;
sudo docker run -d -p 8080:80 -p 8443:443 foxusa/opennote
After the installation process is complete, you can log to your container from the browser using your IP aggress that you can get from your Dply dashboard e.g. (http://machine_IP).
Now, you’ll be directed to OpenNote installation window.
Congratulations, you’ve successfully installed an OpenNote container on Dply, we’re going to cover more Docker container installation for many more web applications in the coming posts.