1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00
Files
cli/components/engine/docs/sources/installation/upgrading.rst
rogaha 7040df6614 added/modifed tittle, description and keywords
changed the title prefix to sufix + Documentation
Upstream-commit: 18cb5c9314dbc9a0aa857211b124a3feb85c5274
Component: engine
2013-05-22 17:52:48 -07:00

1.2 KiB

title
Upgrading
description
These instructions are for upgrading Docker
keywords
Docker, Docker documentation, upgrading docker, upgrade

Upgrading

These instructions are for upgrading Docker

After normal installation

If you installed Docker normally using apt-get or used Vagrant, use apt-get to upgrade.

# update your sources list
sudo apt-get update

# install the latest
sudo apt-get install lxc-docker

After manual installation

If you installed the Docker binary

# kill the running docker daemon
killall docker
# get the latest binary
wget http://get.docker.io/builds/Linux/x86_64/docker-latest.tgz
# Unpack it to your current dir
tar -xf docker-latest.tgz

Start docker in daemon mode (-d) and disconnect (&) starting ./docker will start the version in your current dir rather than a version which might reside in your path.

# start the new version
sudo ./docker -d &

Alternatively you can replace the docker binary in /usr/local/bin