You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSL error while trying to pull image on Ubuntu #1319
I use 1.3.0rc1 and the error persists. Shouldn't it be fixed by 1dccd58?
The --allow-insecure-ssl flag works but is definitely not a solution, we use a certificate signed from Comodo.
Pulling web (docker.example.com/web:master)...
/tmp/_MEIt87UgO/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main", line 32, in main
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 21, in sys_dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 34, in dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 24, in dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 66, in perform_command
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main", line 470, in up
File "/code/build/docker-compose/out00-PYZ.pyz/compose.project", line 230, in up
File "/code/build/docker-compose/out00-PYZ.pyz/compose.service", line 333, in execute_convergence_plan
File "/code/build/docker-compose/out00-PYZ.pyz/compose.service", line 380, in recreate_container
File "/code/build/docker-compose/out00-PYZ.pyz/compose.service", line 209, in create_container
File "/code/build/docker-compose/out00-PYZ.pyz/compose.service", line 237, in ensure_image_exists
File "/code/build/docker-compose/out00-PYZ.pyz/compose.service", line 707, in pull
File "/code/build/docker-compose/out00-PYZ.pyz/docker.client", line 876, in pull
File "/code/build/docker-compose/out00-PYZ.pyz/docker.auth.auth", line 59, in resolve_repository_name
File "/code/build/docker-compose/out00-PYZ.pyz/docker.auth.auth", line 38, in expand_registry_url
docker.errors.DockerException: HTTPS endpoint unresponsive and insecure mode isn't enabled.
/Library/Python/2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
@MrMMorris I presume you installed Compose with Pip. What's your Python version? You'll get that error if you're on a version older than 2.7.9, because the ssl module is insecure (see the linked documentation).
Activity
phlegx commentedon Apr 22, 2015
Tried out also the 1.2.0rc4 version. Still the same problem it seems.
I also tried the flag
as suggested here: #1136, but unfortunately that didn't resolve the issue either.
antoineco commentedon May 28, 2015
I use 1.3.0rc1 and the error persists. Shouldn't it be fixed by 1dccd58?
The
--allow-insecure-sslflag works but is definitely not a solution, we use a certificate signed from Comodo.aanand commentedon Jul 23, 2015
Fixed by #1736 and released in Compose 1.4.0 RC2.
MrMMorris commentedon Jul 27, 2015
@aanand
$ docker-compose -vdocker-compose version: 1.4.0rc2$ pip list | grep docker-pydocker-py (1.3.1)/Library/Python/2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.Am I missing something?
aanand commentedon Jul 28, 2015
@MrMMorris I presume you installed Compose with Pip. What's your Python version? You'll get that error if you're on a version older than 2.7.9, because the
sslmodule is insecure (see the linked documentation).MrMMorris commentedon Jul 28, 2015
@aanand my python version was 2.7.6. Now:
That didn't solve it initially, so I tried reinstalling
composeand that worked 👍Thanks for the help!
Synchronize common files from prometheus/prometheus (docker#1319)