Sign inSign up

skybro/ubuntu-cn

By skybro

Updated almost 2 years ago

适合国内使用的ubuntu docker镜像

Image
1

4.6K

skybro/ubuntu-cn repository overview

ubuntu-cn

Tags (Dockerfile)

  • 18, 18.04, bionic
  • 20, 20.04, focal
  • 21, 21.04, hirsute, latest
  • 21.10, impish, rolling
  • 14, 14.04, trusty
  • 16, 16.04, xenial

Features

  • 使用清华源 / Substitute the offcial software repositories with Tsinghua's. (see Tsinghua Tuna)
  • 时区设为中国 / Tiemzone set to China
  • 语言设为en_US.utf8 / Language set to en_US.utf8
  • 启用bash扩展通配符 / Bash extended globbing enabled

Examples

  • 运行一个容器并给起个名字 / run a container and give it a name: docker container run --name ubt18 -it skybro/ubuntu-cn:18.04
  • 在运行的容器上执行指令 / run a command on a running container: docker container exec --it ubt18 bash
  • 重新启动未运行的容器 / start a stopped container: docker container start -ai ubt18
  • 删除未运行的容器 / remove a stopped container: docker container rm ubt18
  • 强制删除一个容器 / force remove a container: docker container rm -f ubt18
  • 如果只运行容器一次 / run a container only once: docker container run -it --rm skybro/ubuntu-cn

Refs

Tag summary

Content type

Image

Digest

sha256:97bfe64af

Size

60.6 MB

Last updated

almost 2 years ago

docker pull skybro/ubuntu-cn