打包环境
打包环境
创建打包环境
1
2
3
docker run -id --name=golang -v /Users/zhangzhiyuan/go/ai-monitor-data:/root/ai-monitor-data golang:1.20-alpine
docker ps
docker exec -it golang /bin/sh
通过ide进行代码编写
通过volume进行docker内部映射
国内镜像下载
https://docker.aityp.com/
强烈推荐
https://dockerproxy.net/
This post is licensed under CC BY 4.0 by the author.