Repository navigation
Closed
Description
in t2.medium vm:
root@ip-172-31-1-59:/home/ubuntu/nested-docker-container# time docker run cloudfoundryinstaller/cloudfoundry-installer-release-candidate
Unable to find image 'cloudfoundryinstaller/cloudfoundry-installer-release-candidate:latest' locally
latest: Pulling from cloudfoundryinstaller/cloudfoundry-installer-release-candidate
024d1d9b7df6: Pull complete
3df641079856: Pull complete
74f07147d3f2: Pull complete
e62b7c17ab52: Pull complete
86aac04ae65f: Pull complete
f191ae60037e: Pull complete
4c123a81e02c: Pull complete
ab2c51c924e6: Pull complete
25caf520a6ef: Pull complete
03a96676b2ef: Pull complete
1ff7e523f26f: Pull complete
2f2922f2c3cf: Pull complete
f41009d07aaf: Pull complete
ecef1a01ba69: Pull complete
cd0ae42a62b4: Pull complete
Digest: sha256:1933bc3dbe5fa46113f2be7744d5ab7a99ff5291898be2a81279bf74c8d66e87
Status: Downloaded newer image for cloudfoundryinstaller/cloudfoundry-installer-release-candidate:latest
/cloudfoundry-installer/scripts/generate_new_cf_deployment_dir: line 14: AWS_ACCESS_KEY_ID: Must set AWS_ACCESS_KEY_ID (e.g. AKIAIOSFODNN7EXAMPLE)
real 1m13.348s
user 0m0.197s
sys 0m0.066s
in m3.2xlarge concourse vm, in privileged container:
time docker load -i cloudfoundry-installer-image-rc/image
real 3m47.455s
user 0m0.343s
sys 0m2.446s
time docker run `cat cloudfoundry-installer-image-rc/repository`@`cat cloudfoundry-installer-image-rc/digest`
Unable to find image 'cloudfoundryinstaller/cloudfoundry-installer-release-candidate@sha256:1933bc3dbe5fa46113f2be7744d5ab7a99ff5291898be2a81279bf74c8d66e87' locally
sha256:1933bc3dbe5fa46113f2be7744d5ab7a99ff5291898be2a81279bf74c8d66e87: Pulling from cloudfoundryinstaller/cloudfoundry-installer-release-candidate
2a6bd5375f3f: Pull complete
6c71485a46db: Pull complete
7d4387f06e3c: Pull complete
cfd0b4799752: Pull complete
f84830f81218: Pull complete
3ffffbdf0686: Pull complete
6dd2eef8dfcd: Pull complete
4fba50b88505: Pull complete
1863f8375deb: Pull complete
679fc1cd9fba: Pull complete
65d76912b02f: Pull complete
d8def8c4fe0c: Pull complete
d51e688b3dc5: Pull complete
3d5efd074e1d: Pull complete
bebad5f334b4: Pull complete
4b9d77ed32d0: Pull complete
cb31b38cc06f: Pull complete
c2baed68fc3f: Pull complete
7cfee2994c82: Pull complete
Digest: sha256:1933bc3dbe5fa46113f2be7744d5ab7a99ff5291898be2a81279bf74c8d66e87
Status: Downloaded newer image for cloudfoundryinstaller/cloudfoundry-installer-release-candidate@sha256:1933bc3dbe5fa46113f2be7744d5ab7a99ff5291898be2a81279bf74c8d66e87
/cloudfoundry-installer/scripts/generate_new_cf_deployment_dir: line 14: AWS_ACCESS_KEY_ID: Must set AWS_ACCESS_KEY_ID (e.g. AKIAIOSFODNN7EXAMPLE)
real 5m32.069s
user 0m0.201s
sys 0m0.253s
It takes longer to load an image in the Garden containers than it does to download and run on the VM. I'd expect the performance to be about the same, since I'm trying to do the equivalent of
docker run -it -v /var/run/docker.sock:/var/run/docker.sock
in my privileged task. Is this expected behavior?
Metadata
Metadata
Assignees
Labels
No labels
Activity
concourse-bot commentedon Dec 28, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
vito commentedon Dec 28, 2015
What's the setup for your task's Docker daemon's graph dir? Since it's running in a container with
aufsas the rootfs, it may be falling back on the dummyvfsdriver which is slow and expensive (disk space/IO). You could try making atmpfsand pointing it at that instead.mavenraven commentedon Dec 28, 2015
Is using
tmpfssupported? I triedand get
Here's mount:
vito commentedon Dec 28, 2015
Only pass
-g, not-s. It's not its own driver, it just determines what drivers it can use. So it should pickaufsor something probably.mavenraven commentedon Dec 28, 2015
Yeah, I actually just tried aufs instead, and it seemed to work.
mavenraven commentedon Dec 28, 2015
It's much better now, thanks @vito!
Here's what I did, if it should be documented somewhere:
in my script, and
in my pipeline.
bump atc baggageclaim bin fly skymarshal web