parente/nettest

By parente

Updated over 9 years ago

Image
0

76

Container that runs both sshd and apache2 httpd for network testing. Generates a 50 MB file on run for download via scp/sftp or http.

On the server myserver with Docker installed:

docker pull parente/nettest
docker run -tid -p 22222:22 -p 8080:80 --name nettest parente/nettest

On a client:

# transfer 50 MB file using scp (password: testuser)
scp -P 22222 testuser@myserver:test.img .
# transfer 50 MB file using http
wget http://myserver:8080/test.img

To shutdown and remove the server container:

docker kill nettest
docker rm nettest

Docker Pull Command

docker pull parente/nettest