mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
48 lines
No EOL
1 KiB
ReStructuredText
48 lines
No EOL
1 KiB
ReStructuredText
.. _ubuntu_linux:
|
|
|
|
Ubuntu Linux
|
|
============
|
|
|
|
**Please note this project is currently under heavy development. It should not be used in production.**
|
|
|
|
|
|
|
|
Installing on Ubuntu 12.04 and 12.10
|
|
|
|
Right now, the officially supported distributions are:
|
|
|
|
Ubuntu 12.04 (precise LTS)
|
|
Ubuntu 12.10 (quantal)
|
|
Docker probably works on other distributions featuring a recent kernel, the AUFS patch, and up-to-date lxc. However this has not been tested.
|
|
|
|
Install dependencies:
|
|
---------------------
|
|
|
|
::
|
|
|
|
sudo apt-get install lxc wget bsdtar curl
|
|
sudo apt-get install linux-image-extra-`uname -r`
|
|
|
|
The linux-image-extra package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
|
|
|
|
Install the latest docker binary:
|
|
|
|
::
|
|
|
|
wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
|
|
tar -xf docker-master.tgz
|
|
|
|
Run your first container!
|
|
|
|
::
|
|
|
|
cd docker-master
|
|
|
|
::
|
|
|
|
sudo ./docker run -i -t base /bin/bash
|
|
|
|
Consider adding docker to your PATH for simplicity.
|
|
|
|
|
|
Continue with the :ref:`hello_world` example. |