#!/bin/sh CONTAINER_NAME=dingtalk_api TAG=$1 docker stop "${CONTAINER_NAME}" && docker rm -f "${CONTAINER_NAME}" docker run --name "${CONTAINER_NAME}" --restart=unless-stopped --network=host -v $(pwd)/log:/log -d "${CONTAINER_NAME}":"${TAG}"