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
System info (Mac, PC, Linux): Windows 10 PC (This is the Virtualbox host)
System info disto/version: Virtual Box Guest Linux 4.20.3-arch1-1-ARCH x86_64 GNU/Linux (This is the Docker host)
Issue:
Yarn reports trouble with your network connection. No internet connection inside workspace container.
ArchLinux Vbox guest and Docker host have internet connection
Expected behavior:
Yarn install should install packages and should be able to connect to the internet inside the workspace container.
Reproduce:
1 - Install laradock in my guest Vbox Archlinux instance alongside my current laravel project
$ git clone https://github.com/laradock/laradock.git
My folder structure should look like this:
laradock
project-1
project-2
2 - Go to nginx/sites and create config files to point to different project directory when visiting different domains.
3 - change the default names *.conf:
You can rename the config files, project folders and domains as you like, just make sure the root in the config files, is pointing to the correct project folder name.
4 - Add the domains to the Vbox guest ArchLinux hosts files.
127.0.0.1 project-1.test
127.0.0.1 project-2.test
5 - Enter the laradock folder and copy env-example to .env
cp env-example .env
6 - Build the environment and run it using docker-compose
docker-compose up -d nginx mysql phpmyadmin I have noticed that there are 2 additional network created beside from default network. They are frontend and backend networks.
7 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, …)
docker-compose exec workspace bash
8 - $ php artisan key:migrate worked well
9 - $ yarn install
This is where I realized that it seems that the workspace container or service doesn't have an internet connection
"info There appears to be trouble with your network connection. Retrying..."
What I have tried:
Cleaned docker of all existing networks, volumes, containers, images.
Restart ArchLinux Vbox guest OS and Windows 10 main host
Restart docker service
Repeat the process to reproduce
$ ping anysite.com doesn't work. The command is not available and I can't install it either through the container but I could ping any site from Arch Linux
Thanks in advance
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Info:
$ docker --version
): 18.09.1-ce, build 4c52b901c6$ git rev-parse HEAD
): 913abc5Issue:
Yarn reports trouble with your network connection. No internet connection inside workspace container.
ArchLinux Vbox guest and Docker host have internet connection
Expected behavior:
Yarn install should install packages and should be able to connect to the internet inside the workspace container.
Reproduce:
1 - Install laradock in my guest Vbox Archlinux instance alongside my current laravel project
$ git clone https://github.com/laradock/laradock.git
My folder structure should look like this:
2 - Go to nginx/sites and create config files to point to different project directory when visiting different domains.
3 - change the default names *.conf:
You can rename the config files, project folders and domains as you like, just make sure the root in the config files, is pointing to the correct project folder name.
4 - Add the domains to the Vbox guest ArchLinux hosts files.
127.0.0.1 project-1.test
127.0.0.1 project-2.test
5 - Enter the laradock folder and copy env-example to .env
cp env-example .env
6 - Build the environment and run it using docker-compose
docker-compose up -d nginx mysql phpmyadmin
I have noticed that there are 2 additional network created beside from default network. They are frontend and backend networks.
7 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, …)
docker-compose exec workspace bash
8 - $ php artisan key:migrate worked well
9 - $ yarn install
This is where I realized that it seems that the workspace container or service doesn't have an internet connection
"info There appears to be trouble with your network connection. Retrying..."
What I have tried:
Thanks in advance
The text was updated successfully, but these errors were encountered: