Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install specific version of Docker #9697

Closed
jdiamond opened this issue Dec 16, 2014 · 10 comments
Closed

Install specific version of Docker #9697

jdiamond opened this issue Dec 16, 2014 · 10 comments

Comments

@jdiamond
Copy link

Is there or can there be a way to install a specific version of Docker using the get.docker.com scripts?

Maybe by putting the version number in an env var?

curl -sSL https://get.docker.com/ubuntu/ | DOCKER_VERSION=1.3.3 sh

Or using a specific path?

curl -sSL https://get.docker.com/1.3.3/ubuntu/ | sh

Thanks.

@tianon
Copy link
Member

tianon commented Dec 16, 2014

echo deb http://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list

apt-key adv --keyserver pgp.mit.edu --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

apt-get update
apt-get install -y lxc-docker-1.3.3

@jessfraz
Copy link
Contributor

I am going to close, let me know if thats a problem

@jdiamond
Copy link
Author

Thanks, I will try it out.

@rgbkrk
Copy link

rgbkrk commented Jun 23, 2015

This was super helpful in pinning to 1.6 for a moment while we figure out an error I haven't been able to diagnose for 1.7 yet. Thank you @tianon!

@beef9999
Copy link

Why such important information wasn't post on the official website?
F*ck!

@ybur-yug
Copy link

Is there any means to do something similar to what you did @tianon for OS X?

@rgbkrk
Copy link

rgbkrk commented Feb 12, 2016

If you want it for only client tooling, you can also use the Docker Version Manager (dvm) to get Docker versions.

@ybur-yug
Copy link

@tianon @rgbkrk thanks a ton!

@schmunk42
Copy link
Contributor

@jfrazelle

I am going to close, let me know if thats a problem

It is 😉 docker/machine#3374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants