- ###
- # @Description:
- # @Version: 1.0
- # @Autor: lishengyin
- # @Date: 2022-02-22 10:52:11
- # @LastEditors: lishengyin
- # @LastEditTime: 2022-02-22 11:03:13
- ###
- #!/bin/bash
- # 构建开发环境
- # mivainfer
- 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
- # mysql
- docker run -it -d --name mivadbDev -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD=123456 mivadb:dev
|