blob: 1b6e4c9dcea37dc97452ce8a05db595d1f8f4b70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
Copyright 2016 Yahoo Inc. 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>
|