启动容器

#!/bin/bash
container_name="corex-4.3.0-wesley"
image_name="corex:4.3.0"
model_path="/nvme0n1/llm_models"
data_path="/home/wesley"
docker run -it --shm-size="32g" --privileged --name=$container_name \
  --net=host --cap-add=ALL --pid=host \
  -v /usr/src:/usr/src \
  -v /lib/modules:/lib/modules \
  -v /dev:/dev \
  -v /etc/localtime:/etc/localtime:ro \
  -v $model_path:$model_path \
  -v $data_path:$data_path \
  $image_name

#!/bin/bash
container_name="corex-4.3.6"
image_name="corex:4.3.6"
model_path="/nvme0n1/llm_models"
data_path="/home/"
docker run -it --shm-size="32g" --privileged --name=$container_name \
  --net=host --cap-add=ALL --pid=host \
  -v /usr/src:/usr/src \
  -v /lib/modules:/lib/modules \
  -v /dev:/dev \
  -v /etc/localtime:/etc/localtime:ro \
  -v $model_path:$model_path \
  -v $data_path:$data_path \
  $image_name