1 Star 0 Fork 1.2K

优秀开源项目收集/docker

forked from Kenny小狼/docker 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Alpine

主要修改如下:

  • 使用阿里云源
  • 安装的基础工具 curl bash tzdata tar unzip
  • 中国时区
  • 默认bash

镜像下载

docker pull registry.cn-hangzhou.aliyuncs.com/kennylee/alpine

docker pull registry.cn-hangzhou.aliyuncs.com/kennylee/alpine:3.9

docker pull registry.cn-hangzhou.aliyuncs.com/kennylee/alpine:alpine-3.9_glibc

docker pull registry.cn-hangzhou.aliyuncs.com/kennylee/alpine:3.4

参考构建命令

docker build -t kennylee/alpine .

docker build -t kennylee/alpine:coreutils -f Dockerfile-coreutils .

docker build -t kennylee/alpine:glibc -f Dockerfile-glibc .

版本说明

  • coreutils 包含coreutils包的镜像,没有coreutils的话,date命令的格式化无法正常使用。
  • glibc 包含glibc包的镜像环境。
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/open-repo/docker.git
git@gitee.com:open-repo/docker.git
open-repo
docker
docker
master

搜索帮助