Questions tagged «letsencrypt»

4
在docker容器中安装certbot时避免用户与tzdata交互
我想在具有Ubuntu 16.04映像的docker环境中安装certbot: 例如: docker run -it ubuntu:16.04 /bin/bash 当我进入容器时,最简单的安装certbot的方法不起作用,因为它需要用户干预: apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository -y -u ppa:certbot/certbot && \ apt-get install -y certbot 问题是tzdata,它通过以下交互式对话框停止: Extracting templates from packages: 100% Preconfiguring packages ... Configuring tzdata ------------------ Please select the geographic area in which you live. …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.