buildDev.sh 492 B

12345678910111213141516
  1. ###
  2. # @Description:
  3. # @Version: 1.0
  4. # @Autor: lishengyin
  5. # @Date: 2022-02-22 10:52:11
  6. # @LastEditors: lishengyin
  7. # @LastEditTime: 2022-02-22 11:03:13
  8. ###
  9. #!/bin/bash
  10. # 构建开发环境
  11. # mivainfer
  12. docker run -it -d --net=host --runtime nvidia --name=mivaDev -e DISPLAY=$DISPLAY -w /workspace -v /tmp/.X11-unix/:/tmp/.X11-unix -v ~/workspace/:/workspace mivainfer:dev
  13. # mysql
  14. docker run -it -d --name mivadbDev -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD=123456 mivadb:dev