#!/bin/bash

docker run -tid  --privileged=true --net=host --name acd-tmp acd:v1
sleep 8
echo "开始拷贝数据到"$PWD"/acd-data/"
docker cp acd-tmp:/home/server/switch $PWD"/acd-data/"
docker stop acd-tmp
docker rm acd-tmp
echo "拷贝成功"