Source files of the container image volkerraschek/certbot https://hub.docker.com/repository/docker/volkerraschek/certbot
Go to file
2021-10-12 18:46:30 +02:00
.drone.yml fix(ci): sync only on master branch 2021-10-12 18:46:30 +02:00
.editorconfig Initial Commit 2021-08-31 18:37:14 +02:00
.gitattributes Initial Commit 2021-08-31 18:37:14 +02:00
.gitignore Initial Commit 2021-08-31 18:37:14 +02:00
.markdownlint.yaml Initial Commit 2021-08-31 18:37:14 +02:00
docker-compose.yml Initial Commit 2021-08-31 18:37:14 +02:00
Dockerfile fix: use alpine instead of arch linux 2021-09-10 19:47:43 +02:00
LICENSE Initial Commit 2021-08-31 18:37:14 +02:00
Makefile Initial Commit 2021-08-31 18:37:14 +02:00
manifest.tmpl fix: support arm and tagged versions 2021-09-10 19:43:26 +02:00
README.md Initial Commit 2021-08-31 18:37:14 +02:00

certbot-docker

Build Status Docker Pulls

This project contains all sources to build the container image docker.io/volkerraschek/certbot. The primary goal of the image is to run certbot inside a container to support distributions which does not deploy a newer version of certbot.

Usage

The certbot binary is defined as entrypoint. Here is an example how to get the help menue from certbot.

docker run \
  --rm \
  --volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
  volkerraschek/certbot-docker:latest \
  help

If you have existing certificates, you can renew your certificates with renew --noninteractive. Here the example.

docker run \
  --rm \
  --volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
  volkerraschek/certbot-docker:latest \
  renew --noninteractive

Alternatively you can use a docker-compose.yml.

version: "3"
services:
  certbot:
    container_name: certbot
    # certbot command which should be executed
    command: renew --noninteractive
    image: volkerraschek/certbot-docker:latest
    volumes:
    - /etc/letsencrypt:/etc/letsencrypt

Build image manually

To build the images manually check out the repository with git and use the make command to build the container images.

make container-image/build