FROM php:7.2.2-fpm # 国内源 RUN apt-get clean RUN apt-get update RUN apt-get install -y libpq-dev RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql RUN docker-php-ext-install pdo RUN...
FROM php:7.2.2-fpm # 国内源 RUN apt-get clean RUN apt-get update RUN apt-get install -y libpq-dev RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql RUN docker-php-ext-install pdo RUN...
解决办法修改ports例如如下服务 nginx: image: "nginx:alpine" ports: - target: 80 published: 80 protocol: tcp mode: host - target: 443 published: 443...
# 创建 docker run -it --rm --name certbot -v "app_nginx_ssl:/etc/letsencrypt" -v "/home:/mnt" certbot/certbot certonly -d hanhui.iguojin.com # 更新 docker run -it --rm --name certb...
容器管理启动容器docker run -it ubuntu /bin/bash查看所有的容器docker ps -a启动一个已停止得容器docker start b750bbbcfd88 后台运行docker run -itd --name ubuntu-test ubuntu /bin/bash停止一个容器docker stop 容器ID进入容器docker attach 容器ID doc...