docker-ubuntu

Shell script to create small docker images of Ubuntu.

docker-ubuntu License badge Build Status Docker badge

Overview

Ubuntu is a Debian-based free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run.

https://www.ubuntu.com/

Description

Use this script to build your own base system.

We’ve included the last ca-certificates files in the repository to ensure that all of our images are accurates.

Tags

Supported tags.

  • 12.04, precise
  • 14.04, trusty
  • 16.04, xenial
  • 16.10, yakkety

Requirements

On Debian you need sudo permissions and the following packages:

# if you build on wheezy please use backports version of debootstrap
$ sudo apt-get install debootstrap ubuntu-archive-keyring

On Ubuntu you need sudo permissions and the following packages:

$ sudo apt-get install debootstrap

You also need to be in the docker group to use Docker.

$ sudo usermod -a -G docker USERNAME

Finally you need to login on Docker Hub.

$ docker login

Usage

You first need to choose which dist between precise (12.04), trusty (14.04), xenial (16.04) and yakkety (16.10) you want (yakkety will be the ‘latest’ tag) and you need to choose you user (or organization) name on Docker Hub.

Show help.

$ ./build.sh -h

Build your own Ubuntu image (eg. trusty).

$ ./build.sh -d trusty -u rockyluke

Build your own Ubuntu image (eg. xenial) and push it on the Docker Hub.

$ ./build.sh -d xenial -u rockyluke -p

Development

Feel free to contribute on GitHub.

    ╚⊙ ⊙╝
  ╚═(███)═╝
 ╚═(███)═╝
╚═(███)═╝
 ╚═(███)═╝
  ╚═(███)═╝
   ╚═(███)═╝

Related Repositories

docker.ubuntu

docker.ubuntu

Docker role for Ansible on Ubuntu 12.04+ ...

docker-ubuntu-stack

docker-ubuntu-stack

My hip lil' Ubuntu stack of Docker images, w/ s6 init and logstash-forwarder installed. ...

docker-ubuntu

docker-ubuntu

Shell script to create small docker images of Ubuntu. ...

docker-ubuntu-r

docker-ubuntu-r

Docker images for R on Ubuntu ...

java-in-docker

java-in-docker

JAVA 的 Docker 运行环境。Docker: Ubuntu, Tomcat, Maven and JAVA Stack. ...