question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] docker-compose issue

See original GitHub issue

Hello,

Im trying to run this app on MacOs As im not using windows In docker-compose.override.yml i only changed this lines :

    volumes:
      - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
      - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro

to use named volume:

    volumes:
      - boilerplatedata

Im not sure what are this strange volumes used for so it would be nice if you could explain it and tell me if i did it correctly.

When i run docker-compose up -d im getting this error:

Building boilerplate-api
Step 1/19 : FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
 ---> c3a51e51a0f9
Step 2/19 : WORKDIR /app
 ---> Using cache
 ---> 45e66bcf25b5
Step 3/19 : EXPOSE 80
 ---> Using cache
 ---> 5d8238c88e4f
Step 4/19 : EXPOSE 443
 ---> Using cache
 ---> aa14dc9dc80a

Step 5/19 : FROM mcr.microsoft.com/dotnet/sdk:5.0-buster AS build
ERROR: Service 'boilerplate-api' failed to build : manifest for mcr.microsoft.com/dotnet/sdk:5.0-buster not found: manifest unknown: manifest tagged by "5.0-buster" is not found

I could not find any informations how to fix this issue

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
snax4acommented, Feb 15, 2021

@yanpitangui Now everything works, thank you!

0reactions
yanpitanguicommented, Feb 15, 2021

@snax4a, you were correct. I fixed the connection string and created the initial migration, so now it executes on program startup. Can you test again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · docker/compose
Issues list. Docker compose does not start container for second environment on host Windows Server 2022.
Read more >
[BUG] docker compose up not returning shell and ...
I'm running a fairly large project with docker compose and am running an issue where docker compose up -d and docker compose up...
Read more >
Docker Compose release notes
Fixed an issue where build tries to push unnamed service images. Fixed a bug which meant the target secret path on Windows was...
Read more >
Docker compose up issue - General Discussions
I've downloaded an image dockerfacile/app. But when I try to launch the command docker-compose up the error below occurs :.
Read more >
Known issues
Find known issues for Docker Desktop. ... For Mac with Intel chip; For Mac with Apple silicon. IPv6 is not yet supported on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found