You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
185 B

#!/bin/bash
IMAGE_NAME=$(basename $(pwd))
docker build -t $IMAGE_NAME .
echo
echo "run with: 'docker run --rm -p4321:1234 $IMAGE_NAME'"
echo "on host start: 'nc host.example.com 4321'"