Comments (7)
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.
from run-aspnetcore-microservices.
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.
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.
Hello everyone.
has anyone had this error? I just clone the repo and start this command in the root of project
from run-aspnetcore-microservices.
For building you need to put 2 dash. it should be --build
from run-aspnetcore-microservices.
Thank you for the answer @mehmetozkaya
but it doesn't work
P.S. in ur book only one dash before build command
from run-aspnetcore-microservices.
Related Issues (20)
- can't connect in Windows 11?
- connection timeout in pulling elasticsearch:7.9.2 and kibana:7.9.2
- upgrade to dot net 6 HOT 2
- error pulling image configuration
- Refactor- name of the product going to be unique, why have to declare ToList ?
- can you ensure Basket checkout atomicity HOT 4
- grpc version is not compatible with m1 macbook HOT 1
- nuget error while running docker HOT 1
- Remove "event-sourcing" tag
- Ordering Health Check fails on ARM64 HOT 6
- Adding signalR event when the closeTime is been changed
- Unable to load the service index for source HOT 1
- Provide a better redirect in docker-compose...
- How to handle the eventual consistency in basket and Order api services
- Course??
- SQl server Database is not connected using docker compose HOT 1
- Ocelot's and docker-compose is not support each other configurations
- Cannot complete the docker compose on windows HOT 1
- Project doesnt work HOT 2
- Docker images: Unable to configure HTTPS endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from run-aspnetcore-microservices.