Sign inSign up

devsareno/cweb

By devsareno

Updated over 3 years ago

A simple web application built with Golang that can be used for container testing

Image
0

210

devsareno/cweb repository overview

GitHub

https://github.com/dev-sareno/cweb

Docker

Run

# run with a message instance1 on default port 8088
$ docker run \
  --rm \
  -ti \
  -e CMSG=instance1 \
  -p 80:8088 \
  devsareno/cweb:latest

# run with a message instance1 on custom port 3000
$ docker run \
  --rm \
  -ti \
  -e CMSG=instance1 \
  -e CPORT=3000 \
  -p 80:3000 \
  devsareno/cweb:latest

$ curl localhost
msg: instance1

Tag summary

Content type

Image

Digest

sha256:3ec419d9d

Size

179 MB

Last updated

over 3 years ago

docker pull devsareno/cweb