You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
399 B
Bash
12 lines
399 B
Bash
#!/bin/sh -x
|
|
|
|
# use docker pull nginx if you not using local registry hub
|
|
docker pull 192.168.1.101:5000/nginx
|
|
docker run -d --name nginx-container -p 80:80 192.168.1.101:5000/nginx
|
|
|
|
echo "Rico Lin said hello from Vietnam InfraDay to $host::$version" > rico.html
|
|
docker cp $PWD/rico.html nginx-container:/usr/share/nginx/html/
|
|
cat rico.html > $heat_outputs_path.result
|
|
|
|
echo "Output to stderr" 1>&2
|