Coder Social home page Coder Social logo

Comments (3)

djeikyb avatar djeikyb commented on May 23, 2024

When I was testing the difference between using the two different name styles, I was lazy and didn't actually rename them. Instead, I used links.

hard links get my override file read:

ln {docker-,}compose.override.yml
ln {docker-,}compose.yml

symbolic links don't:

ln -s {docker-,}compose.override.yml
ln -s {docker-,}compose.yml

I'm not sure I care, it was just interesting. And it means I neglected to test the case where only the compose.* version are present, which I hope doesn't matter.

from orbstack.

slinorb avatar slinorb commented on May 23, 2024

Can not reproduce the issue using the examples:

% ls
docker-compose.override.yml	docker-compose.yml
% docker compose version
Docker Compose version v2.24.5
% docker compose config
name: "1168"
services:
  rabbitmq:
    command:
      - echo 'Disabled ⛔️'
    entrypoint:
      - /bin/sh
      - -c
    environment:
      RABBITMQ_DEFAULT_PASS: admin
      RABBITMQ_DEFAULT_USER: admin
      RABBITMQ_DEFAULT_VHOST: development
    image: alpine:latest
    networks:
      default: null
    ports:
      - mode: ingress
        target: 5672
        published: "9411"
        protocol: tcp
      - mode: ingress
        target: 15672
        published: "9412"
        protocol: tcp
networks:
  default:
    name: 1168_default

What is your docker compose version?

from orbstack.

djeikyb avatar djeikyb commented on May 23, 2024

Same version looks like. I can see if i can get more reliable repro steps into a github repo, happy to close in the meantime. Also I wasn't really sure if this belongs in orbstack issues or docker issues.

❯ docker compose version
Docker Compose version v2.24.5

from orbstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.