blob: 0cb96035c42e499d83162931be09c1c185b590e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
This is the source for a basic docker image that runs a python HTTP server listening at IPv6 port 80.
The server serves two basic paths:
/ip - returns IP address of the requester
/ping - returns string "pong"
To build the image run:
$ sudo docker build -t "simple-ipv6-server:Dockerfile" <path to this directory>
|