-
Notifications
You must be signed in to change notification settings - Fork 24
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 latest version of docker. #18
Conversation
@@ -0,0 +1 @@ | |||
deb https://apt.dockerproject.org/repo ubuntu-trusty main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What drops this in place? Don't you already have a apt_repository statement for something like this in tasks/main.yml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah good call. I'll update the apt_repository step.
👍 |
Upgrading to docker 1.8.3 seems to break builds:
|
Note: You can specify a specific docker version with the new mirror as of a week or so ago. Here's all the versions they support: https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages Here's an example of locking to a specific package version in ansible: https://github.com/remind101/empire_ami/blob/master/ansible/roles/docker/tasks/main.yml#L41 |
Sweet. Added a commit that locks docker to 1.7.1. I'll test again and make sure there's no issues. |
Install latest version of docker.
Seems like switching to the new docker build may have slowed down docker in docker. |
Bunch of docker start timeouts after deploying this /cry. |
Looks like this was probably caused because it switched from using aufs to devicemapper: Before $ docker info
Containers: 3
Images: 42
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 48
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-61-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.305 GiB
Name: ip-10-0-0-121
ID: 7HCU:7ECK:LZA5:JSML:7UV7:MN7N:2OES:LHS5:ZRCR:7NAV:564V:CU67
Username: conveyor
Registry: https://index.docker.io/v1/
WARNING: No swap limit support After $ docker info
Containers: 3
Images: 42
Storage Driver: devicemapper
Pool Name: docker-202:112-6029313-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 1.587 GB
Data Space Total: 107.4 GB
Data Space Available: 103.9 GB
Metadata Space Used: 2.568 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.145 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.77 (2012-10-15)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-49-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.305 GiB
Name: ip-10-0-0-152
ID: 5G5U:MJH3:JFKT:ZIZU:ZBE4:E7JI:TWLS:GA6R:REF5:7C3B:WHDC:4N3K
Username: conveyor
Registry: https://index.docker.io/v1/
WARNING: No swap limit support |
i think we should lock to version 1.7.0 tbh cc @ejholmes for now before moving into the .dockercfg -> .docker/config.json, i am having a nightmare |
Old method started failing, this uses the new installation instructions from https://docs.docker.com/installation/ubuntulinux/