Support Ubuntu 20.04 focal
Right now the cookbook doesn't support Ubuntu 20.04 (focal). Simply adding 'focal' to docker_ce_cookbook_apt_package_helper.rb:37
doesn't work. The problem is that the public key of the repo is not present. In Docker's documentation there is a command to add the key
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
Even with the key added, installation still fail saying no available candidate docker-ce
.
After manually running sudo apt update
, the cookbook can finish successfully.
Can anyone help?