simplest run
docker run -p "8080:8080" -ti lkwg82/h2o-http2-server
test with
$ curl http://localhost:8080/
not found
A short tutorial can be found on https://blog.lgohlke.de/docker/h2o/2016/03/01/dockerized-h2o-webserver.html
A sample docker-compose file with reduced capability set
version: '2'
services:
h2o:
image: lkwg82/h2o-http2-server:v2.1.0
ports:
- "444:1443"
volumes:
- "/etc/h2o:/etc/h2o"
- "/etc/letsencrypt:/etc/letsencrypt"
- "/var/log/h2o:/var/log/h2o"
working_dir: /etc/h2o
restart: always
cap_add:
- setuid
- setgid
- chown
- sys_admin
cap_drop:
- ALL
# vim: syntax=yaml expandtab
Content type
Image
Digest
Size
22.6 MB
Last updated
about 8 years ago
docker pull fgst/h2o-web