-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
The reason is because it won't work if you pass a private git repository as the build URL.
See docker/compose#2856 for more information, including a simple test-case by @zkf.
Instead, docker-py
should follow the same steps as docker
: if the build URL is a git repository, it should clone the repo locally and pass as a tarball to the daemon.
I believe the problem is caused by how docker-py
performs a build (here) instead of following the same steps as docker
.
Please let me know if I'm misunderstanding the problem or if there's any other way I can help.
Here is my version information:
OS X El Capitan 10.11.2 (15C50)
docker-py==1.8.0.dev0
Python 2.7.9
Client:
Version: 1.11.0-dev
API version: 1.23
Go version: go1.6
Git commit: bc730f3-unsupported
Built: Tue Mar 8 19:01:29 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.0-dev
API version: 1.23
Go version: go1.6
Git commit: bc730f3-unsupported
Built: Tue Mar 8 19:01:29 2016
OS/Arch: linux/amd64