This issue was originally opened by @frodopwns as hashicorp/packer#3057.It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
I am running Jenkins in a Ubuntu 14.04 Docker Container.
Tried with docker 1.7.1 and 1.9.1.
The jenkins image has these volumes mounted in to allow for docker-in-docker:
Inside this container I run a packer build with a docker builder and an ansible provisioner. This build works fine when I run it on a normal host running docker.
When run inside a docker-based jenkins image it hangs at:
Is there a known issue with running the docker builder with ansible provisioner in a docker-in-docker environment? If so what can we do about it? Jenkins is being deployed via docker more and more often so things like packer which often get triggered by jenkins will need to run in containers.
This issue was originally opened by @frodopwns as hashicorp/packer#3057.It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
I am running Jenkins in a Ubuntu 14.04 Docker Container.
Tried with docker 1.7.1 and 1.9.1.
The jenkins image has these volumes mounted in to allow for docker-in-docker:
-v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock
Inside this container I run a packer build with a docker builder and an ansible provisioner. This build works fine when I run it on a normal host running docker.
When run inside a docker-based jenkins image it hangs at:
This will hang forever.
Is there a known issue with running the docker builder with ansible provisioner in a docker-in-docker environment? If so what can we do about it? Jenkins is being deployed via docker more and more often so things like packer which often get triggered by jenkins will need to run in containers.