Replies: 1 comment
-
Ah, figured it out, Aspire expects the Docker CLI to be present while Testcontainers library connects to the socket directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a problem that in Gitlab CI (on-premise Gitlab instance), I cannot run Aspire in tests because of an error "Container runtime 'docker' could not be found. See https://aka.ms/dotnet/aspire/containers for more details on supported container runtimes.". I am running tests in a Docker container. I am sure Docker works, because in other tests I use the Testcontainers library and it works.
Stack trace:
However, in the issue here #7802 (comment) someone mentioned that if I set DOTNET_ASPIRE_CONTAINER_RUNTIME environment, this check should be disabled. Is that "hack" still in place? I tried setting the env variable in the container, and in code, but it didn't change anything.
Aspire version: 9.3.1
Beta Was this translation helpful? Give feedback.
All reactions