Nicolas De loof
Nicolas De loof
I tried to re-enable ssh multiplexing automatically enabled by docker CLI, but my PR fails for some non-obvious reason. Will need to wait for more eyes to help diagnose this...
indeed, trying to make logs command a background task fails. But it works when running the CLI plugin directly ``` $ ~/.docker/cli-plugins/docker-compose logs -f ... truc-test-1 | 2023-01-26 12:34:52.249+0000 [id=49]...
@ryanneufeld can you try using `com.docker.cli compose ...` to reproduce this issue ?
@matt0x6F could you please try to reproduce by directly executing the docker-compose CLI plugin ? `.docker/cli-plugins/docker-compose --debug ps` (or `/Applications/Docker.app/Contents/Resources/bin/docker-compose --debug ps` when using Docker Desktop Mac) `docker compose` uses...
We really, really don't want to introduce a templating language inside the compose file format
@milas we indeed could compute hostname as container is created with some custom, dedicated logic for this use-case `Hostname: strings.Replace(service.Hostname,"XXX", number)` I wonder which character to use to prevent any...
I ran a quick test: ```yaml services: base: image: nginx scale: 2 master: image: alpine command: ping localhost ``` ran the stack then exec into my "master" node: ``` docker...
just a quick note that container index _might_ not start by `1`. If for some reason you delete service_replica_1 and run another `docker compose up`, a new container will be...
Do you have a use case for this feature you could describe here ? As container is connected to network with service alias, I wonder why setting hostname as requested...
IIUC you'd like to get some metadata _in container_ to let you know about the service and replica number being ran. Can you please describe how you would use this,...