简介

Debian 系统的基础 Docker 镜像。基于官方 Debian LTS 版本 slim 镜像。

版本信息:

  • 10、10-buster、latest
  • 9、9-stretch

镜像信息:

  • 镜像地址:colovu/debian:latest
    • 依赖镜像:debian:TAG-slim

与官方镜像差异:

  • 修改默认源为阿里云镜像
deb http://mirrors.aliyun.com/debian/ buster main contrib non-free
deb-src http://mirrors.aliyun.com/debian/ buster main contrib non-free

deb http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free

deb http://mirrors.aliyun.com/debian/ buster-proposed-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian/ buster-proposed-updates main contrib non-free

deb http://mirrors.aliyun.com/debian/ buster-backports main contrib non-free
deb-src http://mirrors.aliyun.com/debian/ buster-backports main contrib non-free
  • 增加locales,并默认设置为en_US.utf8
  • 增加gosu

数据卷

该容器没有定义默认的数据卷。该容器主要用作创建其他业务容器的基础容器。

使用说明

镜像管理

下载镜像:

docker pull colovu/debian:latest
  • latest:为镜像的TAG,可针对性选择不同的TAG进行下载

查看镜像:

docker images

启动容器

生成并运行一个新的容器:

docker run -it --rm colovu/debian:latest /bin/bash
  • -it:使用交互式终端启动容器
  • --rm:退出时删除容器
  • colovu/debian:latest:包含版本信息的镜像名称
  • /bin/bash:在容器中执行/bin/bash命令;如果不执行命令,容器会在启动后立即结束并退出。

本文原始来源 Endial Fang @ Github.com

S
Description
No description provided
Readme MIT 257 KiB
Languages
Dockerfile 81.3%
Shell 18.7%