📅  最后修改于: 2022-03-11 14:56:13.483000             🧑  作者: Mango
docker run \
--cap-add NET_ADMIN \ # to allow changing net settings inside the container
--name container1 \
--restart always \ # restart policy
your_image \
/path/to/your_start_script.sh