Commit eaef9e40 authored by pasden's avatar pasden 💬
Browse files


parent 5bc15fdf
#!/bin/sh #!/bin/sh
container_name="itinvent" CONTAINER_NAME="itinvent"
path_docker_containers="/volume1/docker" PATH_DOCKER_CONTAINERS="/volume1/docker"
container_data_path="${path_docker_containers}/${container_name}/" CONTAINER_DATA_PATH="${PATH_DOCKER_CONTAINERS}/${CONTAINER_NAME}/"
docker stop $container_name APP_DIR=$(cd "$(dirname "$0")" && pwd)
docker rm $container_name
rm -rf $container_data_path sh -c "${APP_DIR}/"
echo "--"
rm -rf $CONTAINER_DATA_PATH && echo "remove container folder!"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment