Skip to content
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

Cannot install Spryker using Docker SDK #387

Closed
VladyslavSikailo opened this issue Nov 9, 2022 · 3 comments
Closed

Cannot install Spryker using Docker SDK #387

VladyslavSikailo opened this issue Nov 9, 2022 · 3 comments
Labels

Comments

@VladyslavSikailo
Copy link

Which release, branch or hash of Docker SDK are you using?

  • master

Which operating system (platform/version/architecture) are you using?

  • mac os 12.5, intel

What is the issue that you're experiencing?

I am trying to setup Spryker using this instruction - https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installation-guides/installing-in-development-mode-on-macos-and-linux.html#clone-a-demo-shop-and-the-docker-sdk
When I run docker/sdk bootstrap deploy.dev.yml - in ~30 mins I get the following error:

#12 1602.5     Failed to download twig/twig from dist: curl error 28 while downloading https://api.github.com/repos/twigphp/Twig/zipball/ab402673db8746cb3a4c46f3869d6253699f614a: Connection timed out after 75688 milliseconds
#12 1602.5     Now trying to download from source
#12 1602.5   - Syncing twig/twig (v2.15.3) into cache
#12 1677.9 
#12 1677.9  21/21 [============================] 100%
#12 1678.0 In Git.php line 453:
#12 1678.0                                                                                
#12 1678.0   Failed to clone https://github.com/php-fig/container.git via https, ssh pro  
#12 1678.0   tocols, aborting.                                                            
#12 1678.0                                                                                
#12 1678.0   - https://github.com/php-fig/container.git                                   
#12 1678.0     Cloning into bare repository '/home/spryker/.composer/cache/vcs/https---g  
#12 1678.0   ithub.com-php-fig-container.git'...                                          
#12 1678.0     fatal: unable to access 'https://github.com/php-fig/container.git/': Fail  
#12 1678.0   ed to connect to 95.179.149.104 port 1234: Connection refused                
#12 1678.0                                                                                
#12 1678.0   - git@github.com:php-fig/container.git                                       
#12 1678.0     Cloning into bare repository '/home/spryker/.composer/cache/vcs/https---g  
#12 1678.0   ithub.com-php-fig-container.git'...                                          
#12 1678.0     Host key verification failed.                                              
#12 1678.0     fatal: Could not read from remote repository.                              
#12 1678.0                                                                                
#12 1678.0     Please make sure you have the correct access rights                        
#12 1678.0     and the repository exists.                                                 
#12 1678.0                                                                                
#12 1678.0 
#12 1678.0 install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
#12 1678.0 
------
executor failed running [/bin/sh -c composer install --no-interaction --optimize-autoloader --no-dev]: exit code: 1

What is the expected result of these steps in the absence of the issue?

  • project should be installed

What is the actual result?

  • project is not installed

Is there any other information that might be helpful?

Docker version 20.10.20, build 9fdeb9c

@VladyslavSikailo
Copy link
Author

Update: I have tried to run composer install locally, outside of docker - it didn't help

@alexanderM91
Copy link
Collaborator

Hi @VladyslavSikailo,

Unfortunately, I haven't been able to reproduce an issue on my local machine.
I checked docker/sdk boot deploy.dev command execution, CI status and Composer install command execution.

Assumption\Suggestion:

  • Do you have a stable internet connection?
  • Can you install failed package?
  • You can try to install the project from scratch. Execute docker/sdk prune command to clean all docker artefacts.

More information:
DockerSDK version: master
My operation system: MacOS, 12.5.
DockerDesktop version: 4.13.0 (89412).

docker/sdk command execution results.
Screenshot 2022-11-09 at 12 08 21

composer install command execution results.
Screenshot 2022-11-09 at 12 11 57

Screenshot 2022-11-09 at 12 11 50

@VladyslavSikailo
Copy link
Author

the problem was with my ~/.docker/config.json file. There were wrong HTTP proxy configured

Excuse for troubling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants