Before installing Docker on the production system, we first need to install some prerequisites:
$ sudo apt-get install dmsetup && dmsetup mknodes
Now, we can issue the following command to install Docker:
$ sudo apt-get install docker-ce
To verify that Docker has been installed properly on the production system, you may issue the following command:
$ docker --versionDocker version 17.09.0-ce, build afdb6d4
You should see the version of Docker installed after running the command.