Merge pull request #1509 from drwetter/container1
remove jq and beautify last line
This commit is contained in:
commit
95b6189076
|
@ -23,7 +23,8 @@ docker exec -ti $ID service nginx start
|
||||||
docker exec -ti $ID service nginx status
|
docker exec -ti $ID service nginx status
|
||||||
# P Q
|
# P Q
|
||||||
|
|
||||||
docker inspect $ID | jq -r '.[].NetworkSettings.IPAddress'
|
echo
|
||||||
|
echo "You may now run \"testssl.sh $(docker inspect $ID --format '{{.NetworkSettings.IPAddress}}')\""
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
@ -48,10 +48,8 @@ docker cp $HN.crt $ID:/etc/nginx/ssl
|
||||||
docker exec -ti $ID nginx -s reload
|
docker exec -ti $ID nginx -s reload
|
||||||
# docker start $ID
|
# docker start $ID
|
||||||
|
|
||||||
# P Q
|
echo
|
||||||
docker inspect $ID | jq -r '.[].NetworkSettings.IPAddress'
|
echo "You may now run \"testssl.sh $(docker inspect $ID --format '{{.NetworkSettings.IPAddress}}')\""
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
EOF
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue