Docker is an amazingly simple and quick way to obtain a certificate. However, this mode of operation is unable to install certificates automatically or configure your webserver, because our installer plugins cannot reach your webserver from inside the Docker container.
Most users should install Certbot by following the installation instructions at https://certbot.eff.org/instructions. You should only use Docker if you are sure you know what you are doing (you understand volumes) and have a good reason to do so, such as following the one service per container rule.
For more information, please read Certbot - Running with Docker.
This code is used to build and deploy new versions of the Certbot and Certbot DNS plugin Docker images to Docker Hub.
Running ./build.sh <TAG> all && ./deploy.sh <TAG> all
causes the Docker
images to be built and deployed to Docker Hub for all supported architectures
where <TAG>
is the base of the tag that should be given to the given images.
The tag should either be nightly
or a git version tag like v0.34.0
. The
given tag is only the base of the tag because the CPU architecture is also
added to the tag.
To run these scripts you need:
- An x86_64 machine with Docker installed and the Docker daemon running. You probably don't want to use the docker snap as these scripts have failed when using that in the past.
- To be logged into Docker Hub with an account able to push to the Certbot and Certbot DNS Docker images on Docker Hub.