Using Ansible to install docker-ce on Ubuntu 18.04


The default stable package is going to be an older version than what you can get from docker-ce:

apt list,now 17.12.1-0ubuntu1 amd64 [installed]

Meanwhile, if you configure a repository pointing to Docker’s repo, you can have a much newer version:

apt list docker-ce
docker-ce/bionic,now 18.06.1~ce~3-0~ubuntu amd64 [installed]


ansible-playbook -i 'REMOTE_IP_ADDRESS,' ubuntu-ansible-docker-install.yml


This is a preview of Clap Button, a new feedback and analytics tools for Hydejack, built by yours truly. You can try it out on localhost for free, but it will be removed (together with this message) when building with JEKYLL_ENV=production. To use Clap Button on your site, get a subscription
and set clap_button: true in your config file.

© 2021. All rights reserved.