Skip to content

sky-bro/ubuntu-cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-cn

Use ubuntu-cn in China.

Build & Push images

中文 | English

Features

Look into the dockerfile for more details.

  • Substitute the offcial software repositories with Tsinghua's. (see Tsinghua Tuna)
  • Tiemzone set to China
  • Language set to en_US.utf8
  • Bash extended globbing enabled
  • ssh server
    • enable X forwarding
    • enable Root login
  • vim

Just Run a Container

more tags at docker hub

  • 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

Build your own images

Uses ubuntu:latest base image by default. (change the image name:tag to your own)

docker image build -t skybro/ubuntu-cn:bionic .

To build other versions of ubuntu, just pass the VERSION ARG.

docker image build -t skybro/ubuntu-cn:bionic --build-arg VERSION=bionic .

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

About

适合国内使用的ubuntu docker镜像

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published