1 2 3 4 5 6 7 8 9
#!/bin/sh # Establish environment variables source $(dirname $0)/os_settings.sh echo "Stopping docker container named ${CONTNAME}" docker stop ${CONTNAME} echo "Removing docker container named ${CONTNAME}" docker rm ${CONTNAME}