Open enrico23 opened 1 year ago
Hi @enrico23 and thanks for the bug report. I do not have access to an azure environment. Have you tried to enable logging and see what commands being emitted and tried them manually. If not, please do and add the commands and which of them were erroneous (if any)?
Cheers, Mario :)
Hi @mariotoffia. Thanks for looking into it.
I found the issue!
I added the "project name" for the Docker Compose file to determine how it was displayed by Docker Desktop.
version: "3.8"
name: "sqltest1" ########### this line caused the issue ######
services:
sql-server-db:
hostname: sqltest1
container_name: sqltest1-container
image: mssqltest1
build:
context: mssql
dockerfile: Dockerfile
ports:
- "1433:1433"
environment:
ACCEPT_EULA: Y
SA_PASSWORD: ****
MSSQL_PORT: 1433
MSSQL_DB: ******
MSSQL_USER: ******
MSSQL_PASSWORD: ******
volumes:
- ./database/msqqldata:/var/opt/mssql/data
networks:
- servicetest1-network
networks:
servicetest1-network:
driver: bridge
We're running into a similar item in our Ubuntu build environment. The environment has Docker Compose versions v1 1.29.2
and v2 2.23.3
. It looks like docker-compose
which is what FluentDocker uses points to v1, but our compose file is set up for v2.
We're currently adding a build step that aliases docker-compose
to docker compose
I have some integration tests running on Docker using FluentDocker, version 2.10.59
I am using the NUnit lifecycle to create and destroy instances of a Test Environment.
You can see the implementation of the class 'TestEnvironment':
This is the method GetDockerHost
I am getting the error when I am attempting
The code was working previously on Azure DevOps and still works locally.
I use GitHub Actions and workflow for CI
The Github agent has the following Docker Tooling installed: Docker version 20.10.24+azure-1 docker-compose version 1.29.2