mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
changed the title prefix to sufix + Documentation Upstream-commit: 18cb5c9314dbc9a0aa857211b124a3feb85c5274 Component: engine
1.2 KiB
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-dockerAfter 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.tgzStart 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