docker exec 命令
docker exec -it $DOCKER_ID /bin/bash -c ‘cd /packages/detectron && python tools/train.py’
docker exec -it 3d076c5ba6d8 -c ‘nginx -s reload’
docker exec -it 3d076c5ba6d8 ‘cat /etc/nginx/nginx.conf’
docker exec -it 3d076c5ba6d8 ‘ls /etc/nginx/‘
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 传礼!
评论
ValineGitalk