Giter Site home page Giter Site logo

Comments (7)

mehmetozkaya avatar mehmetozkaya commented on May 16, 2024

Did you change anything in docker-compose files ? if yes it could be the format error, please format again your yaml files and try again.
If no changes the docker could be the can't identify the services, please remove all running containers and images than restart your docker and try again.

if you inspect the which microservices makes problem you can also run with build command;
docker-compose -f docker-compose.yml -f docker-compose.override.yml up –build

from run-aspnetcore-microservices.

punkouter2021 avatar punkouter2021 commented on May 16, 2024

from run-aspnetcore-microservices.

punkouter2021 avatar punkouter2021 commented on May 16, 2024

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets(384,5): error DT1001: ERROR: for ordering.api Cannot create container for service ordering.api: Duplicate mount point: /root/.aspnet/https
9>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets(384,5): error DT1001: If the error persists, try restarting Docker Desktop.
9>Done building project "docker-compose.dcproj" -- FAILED.

I dunno whats going on.. i removed all running containers.

from run-aspnetcore-microservices.

mehmetozkaya avatar mehmetozkaya commented on May 16, 2024

In some cases docker not worked consistency. So my recommendation is stopping all containers , remove all containers, remove all images.
After that changed a docker setting - 'Switch to linux containers' (if it is windows containers) and restart the docker.
After that run the docker-compose command.
Since it is working -d mode, it will take time to up all microservices so wait for a while and check urls.
It should be work.

from run-aspnetcore-microservices.

KorsakVlad avatar KorsakVlad commented on May 16, 2024

Hello everyone.
has anyone had this error? I just clone the repo and start this command in the root of project

image

from run-aspnetcore-microservices.

mehmetozkaya avatar mehmetozkaya commented on May 16, 2024

For building you need to put 2 dash. it should be --build

from run-aspnetcore-microservices.

KorsakVlad avatar KorsakVlad commented on May 16, 2024

Thank you for the answer @mehmetozkaya
but it doesn't work

image

version:
image

P.S. in ur book only one dash before build command

from run-aspnetcore-microservices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.