Public | Automated Build

Last pushed: 2 years ago
Short Description
simple http test server with nc
Full Description

Run http test server as daemon

docker run -d -p 80:80 hsrnetwork/httptest

Run http test server (httpserver01) as daemon with random port mapping

docker run -d -P --name=httpserver01 hsrnetwork/httptest


docker ps
CONTAINER ID        IMAGE                 COMMAND                CREATED             STATUS              PORTS                   NAMES
16a7cb44a5db        hsrnetwork/httptest   "./bin/sh -c 'hostna    6 seconds ago       Up 5 seconds        0.0.0.0:32768->80/tcp   httpserver01

Set container name and hostname

docker run -d -P --name=httpserver99 --hostname=httpserver99 hsrnetwork/httptest
Docker Pull Command
Owner
hsrnetwork
Source Repository

Comments (0)