Category : compose

Apologies if this is a dumb question but… I am still getting to understand docker, but can’t seem to find an answer to when you would use one of the following over the other in a docker-compose.yaml file: e.g. volumes: – type: bind source: /c/docker/tool/log target: /opt/distribution/log OR volumes: – "c:/docker/tool/log:/opt/distribution/log" Are the above two ..

Read more

My problem I am trying to use two docker-compose.yml files (each in separate directories) on the same host machine, one for Airflow and the other for another application. I have put Airflow’s containers in the same named network as my other app (see the below compose files) and confirmed using docker network inspect that the ..

Read more

■Disability Summary Try "Automated software delivery using Docker Compose and Amazon ECS", but fail at Compose2Cloudformation at the end of the CodePipeline. ■Verification environment OS:Windows 10 Professional Terminal:MINGW64 AWS CL:aws-cli/2.2.13 Python/3.8.8 Windows/10 exe/AMD64 prompt/off Docker Compose:Docker Compose version 1.0.17 ■Procedures used for reference https://aws.amazon.com/jp/blogs/containers/automated-software-delivery-using-docker-compose-and-amazon-ecs/ Translated from Japanese (contents are the same as the above link) ..

Read more

The Problem: I am using Docker Compose to create two containers: One with a Postgres database on it and the other with Flyway on it. The goal is to use Flyway to migrate scripts to the Postgres database instance. When I run docker-compose up I get the following error: Unable to obtain connection from database ..

Read more

I have a problem when I build with docker compose an application with local dependencies to create a docker image. My Dockerfile: #GOPROXY ENV GOPROXY=http://proxy.golang.org ENV GO111MODULE=on WORKDIR $GOPATH/src/github.com/julianskyline/motorcars-core-business COPY . . # Set OS as linux RUN GOOS=linux go build -o $GOPATH/bin/github.com/julianskyline/motorcars-core-business main.go FROM alpine COPY –from=build $GOPATH/bin/github.com/julianskyline/motorcars-core-business $GOPATH/bin/github.com/julianskyline/motorcars-core-business ENTRYPOINT [ "/go/bin/motorcars-core-business" ] My ..

Read more