docker

docker httpd

2018-08-13  本文已影响0人  胸口砕大石
查找镜像
$ docker search httpd
NAME                                    DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
httpd                                   The Apache HTTP Server Project                  1888                [OK]                
hypriot/rpi-busybox-httpd               Raspberry Pi compatible Docker Image with a …   41                                      
centos/httpd                                                                            19                                      [OK]
centos/httpd-24-centos7                 Platform for running Apache httpd 2.4 or bui…   15                                      
armhf/httpd                             The Apache HTTP Server Project                  8                                       
macadmins/netboot-httpd                 use in combination with bruienne/bsdpy          6                                       [OK]
salim1983hoop/httpd24                   Dockerfile running apache config                2                                       [OK]
tplatform/aws-linux-httpd24-php70       aws-linux-httpd24-php70                         2                                       [OK]
tplatform/aws-linux-httpd24-php71       aws-linux-httpd24-php71                         1                                       [OK]
fboaventura/dckr-httpd                  Small footprint http server to use with othe…   1                                       [OK]
lead4good/httpd-fpm                     httpd server which connects via fcgi proxy h…   1                                       [OK]
tplatform/aws-linux-httpd24-php71-fpm   aws-linux-httpd24-php71-fpm                     1                                       [OK]
epflidevelop/os-wp-httpd                WP httpd                                        1                                       [OK]
dockerpinata/httpd                                                                      0                                       
trollin/httpd                                                                           0                                       
itsziget/httpd24                        Extended HTTPD Docker image based on the off…   0                                       [OK]
manasip/httpd                                                                           0                                       
interlutions/httpd                      httpd docker image with debian-based config …   0                                       [OK]
mprahl/s2i-angular-httpd24              An S2I image for building and running Angula…   0                                       [OK]
cilium/demo-httpd                                                                       0                                       
publici/httpd                           httpd:latest                                    0                                       [OK]
manageiq/httpd                          Container with httpd, built on CentOS for Ma…   0                                       [OK]
ppc64le/httpd                           The Apache HTTP Server Project                  0                                       
buzzardev/httpd                         Based on the official httpd image               0                                       [OK]
amd64/httpd                             The Apache HTTP Server Project                  0                                       

拉取官方镜像
$ docker pull httpd
opt下创建httpd - www目录用于映射静态页面
$ 略
启动容器
$ docker run -d -p 80:80 \
--name httpd \
-v /opt/httpd/www/:/usr/local/apache2/htdocs/ \
-v /opt/httpd/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf \
httpd:latest
上一篇下一篇

猜你喜欢

热点阅读