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
Reacted by Guillaume de Jabrun, Manuel Gómez, gustavosbarreto, DMW007, Darren Fung, Isaac Rodman, Brian Harrington, Navin Francis Shajan, Andrei Simionescu, Lekhnath Rijal and 1 more
I would like this our environment as well. We have some services are that required during the build process, that should be linked to the building containers for abstraction.
🐛 For those encountering network not found issue: Issue:Service X failed to build: network Y not found. Solution: Docker doesn't resolve the project name for the build network, it should be specified explicitly. <networkName> -> <projectName>_<networkName>
Project name can be specified during execution: docker-compose --project-name <projectName> build <serviceName>
Activity
shin- commentedon Oct 31, 2016
Thank you for the suggestion - we'll look into it as we get closer to the 1.13 Engine release.
philtay commentedon Nov 14, 2016
1.13.0-rc1 has been released. Any thoughts on this? Thanks
dreyks commentedon Jan 26, 2017
actually 1.13 has already been released with the
--networkflag for build. anything new for this issue?gustavosbarreto commentedon May 20, 2017
+1
eyz commentedon Jun 8, 2017
I would like this our environment as well. We have some services are that required during the build process, that should be linked to the building containers for abstraction.
brunolm commentedon Jan 9, 2018
https://stackoverflow.com/a/47545276/340760
cjbottaro commentedon Jan 9, 2018
And how do you determine the yaml version that your docker-compose is compatible with?
Is not helpful.
dreyks commentedon Jan 9, 2018
you can check https://github.com/docker/compose/releases/ and I think I saw it somewhere in the docs too
dreyks commentedon Jan 9, 2018
https://docs.docker.com/compose/compose-file/compose-versioning/
safizn commentedon Oct 15, 2018
🐛 For those encountering network not found issue:
Issue:
Service X failed to build: network Y not found.Solution: Docker doesn't resolve the project name for the build network, it should be specified explicitly.
<networkName>-><projectName>_<networkName>Project name can be specified during execution:
docker-compose --project-name <projectName> build <serviceName>four43 commentedon Jan 7, 2019
@myuseringithub 's fix works. This should be resolved for us. I'll search for an existing ticket...