Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose fail #66

Open
sedghi opened this issue Sep 11, 2024 · 0 comments
Open

docker compose fail #66

sedghi opened this issue Sep 11, 2024 · 0 comments

Comments

@sedghi
Copy link

sedghi commented Sep 11, 2024

I'm following the instructions and i'm getting this error for the docker compose up

I have macOS 14.6.1 (23G93) with Apple Silicon (arm)

WARN[0000] /Users/alireza/dev/fork/c-sandbox/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 2/2
 ! client Warning failed to resolve reference "docker.io/fhircast/client:latest": docker.io/fhircast/client:latest: not found                                                                                7.0s
 ! hub Warning    failed to resolve reference "docker.io/fhircast/hub:latest": docker.io/fhircast/hub:latest: not found                                                                                      9.5s
[+] Building 1.3s (5/5) FINISHED                                                                                                                                                            docker-container:qemu
 => [client internal] load build definition from Dockerfile.client                                                                                                                                           0.0s
 => => transferring dockerfile: 519B                                                                                                                                                                         0.0s
 => [hub internal] load build definition from Dockerfile.hub                                                                                                                                                 0.0s
 => => transferring dockerfile: 436B                                                                                                                                                                         0.0s
 => ERROR [client internal] load metadata for docker.io/microsoft/dotnet:2.2-aspnetcore-runtime                                                                                                              1.2s
 => ERROR [hub internal] load metadata for docker.io/microsoft/dotnet:2.2-sdk                                                                                                                                1.2s
 => [hub auth] microsoft/dotnet:pull token for registry-1.docker.io                                                                                                                                          0.0s
------
 > [client internal] load metadata for docker.io/microsoft/dotnet:2.2-aspnetcore-runtime:
------
------
 > [hub internal] load metadata for docker.io/microsoft/dotnet:2.2-sdk:
------
failed to solve: microsoft/dotnet:2.2-sdk: failed to resolve source metadata for docker.io/microsoft/dotnet:2.2-sdk: docker.io/microsoft/dotnet:2.2-sdk: not found

In addition running the dotnet run --project Hub

also does not work

(base) ➜  c-sandbox git:(master) dotnet run --project Hub
/usr/local/share/dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj]
/usr/local/share/dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj]
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-23cv-jh4v-vffm
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-655q-9gvg-q4cm
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-6px8-22w5-w334
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-f8qx-mjcq-wfgx
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-mv2r-q4g5-j8q5
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-prrf-397v-83xh
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-2xjx-v99w-gqf3
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-3gp9-h8hw-pxpw
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-3w5p-jhp5-c29q
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-5633-f33j-c6f7
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-6px8-22w5-w334
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-g5vf-38cp-4px9
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-vgwq-hfqc-58wv
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g
/usr/local/share/dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj]
/usr/local/share/dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(65,5): warning NETSDK1071: A PackageReference to 'Microsoft.AspNetCore.All' specified a Version of `2.1.5`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs [/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj]
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-23cv-jh4v-vffm
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-655q-9gvg-q4cm
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-6px8-22w5-w334
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-f8qx-mjcq-wfgx
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known high severity vulnerability, https://github.com/advisories/GHSA-mv2r-q4g5-j8q5
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.AspNetCore.All' 2.1.5 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-prrf-397v-83xh
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-2xjx-v99w-gqf3
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-3gp9-h8hw-pxpw
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-3w5p-jhp5-c29q
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-5633-f33j-c6f7
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-6px8-22w5-w334
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1903: Package 'Microsoft.NETCore.App' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-g5vf-38cp-4px9
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-vgwq-hfqc-58wv
/Users/alireza/dev/fork/c-sandbox/Hub/Hub.csproj : warning NU1902: Package 'Microsoft.NETCore.App' 2.1.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g
You must install or update .NET to run this application.

App: /Users/alireza/dev/fork/c-sandbox/Hub/bin/Debug/netcoreapp2.1/Hub.dll
Architecture: arm64
Framework: 'Microsoft.AspNetCore.All', version '2.1.5' (arm64)
.NET location: /usr/local/share/dotnet/

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.All&framework_version=2.1.5&arch=arm64&rid=osx-arm64&os=osx.14

since the dotnet 2.1 does not have arm binaries

CC @mbellehumeur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant