We assume that Docker is installed both on your development station and on the production server. The instructions for installing Docker Community Edition for Debian GNU/Linux are on https://docs.docker.com/engine/installation/linux/docker-ce/debian/ (and the instructions for installing Docker for other platforms are close by). Alternatively, you can install docker in your Ubuntu server through the following command:
$ sudo apt-get install docker.io