-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
volumes_from
doesn't respect container-based volume attachment in docker-compose v2.
#8874
Comments
volumes_from
doesn't respect container-based volume attachment.volumes_from
doesn't respect container-based volume attachment in docker-compose v2.
Please give v2.1.1 a try, IIRC we already fixed this |
Just gave this a try on version
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Tested this again on
|
If this is still open, can I pick it up? @glours, can you point me to the files I need to look at? |
This is definitely still an issue. |
|
@deepto98 are you picking this up? |
Yes, I'll work on it this weekend (busy with some office work). Can you point me to the files I'd need to look at? |
@truckfondue I'm trying to work on this, but can't find any docs to set up docker-compose locally. There is a link here for |
@deepto98 you can take a look at the BUILDING.md file. |
Okay, thanks @glours |
@glours as I mentioned above, this bug is preventing my team from upgrading to We run into this issue in CI where we use the open source version of The scenario:
The jenkins agent is a container managed outside of Lastly, we're still using the 2.x variant of the |
@deepto98 any luck making progress? |
@fubarhouse did you find a workaround? |
@truckfondue I was able to reproduce the issue following @fubarhouse's initial comment, but I need some guidance in understanding where exactly to look to fix it. I found the string |
Unfortunately not. Some users that use some software that uses this are still using Docker-compose v1 as a result. |
@fubarhouse @truckfondue @deepto98 |
@glours that is working nicely!
|
Hi @glours, So i've installed your patch of the docker compose binary and i've still getting an error. docker-compose.yml: The Container referenced does not created a named volume. |
I used the same patch for docker binary and had the same error; What I found is the pygmy should put amazeeio_ssh-agent volume into /tmp folder but it puts this somewhere else. |
Description
I'm looking to attach a volume to a docker-compose service in the form of a container - which is not part of the docker-compose declaration.
Steps to reproduce the issue:
docker-compose.yaml
docker-compose up -d
Describe the results you received:
the volume was attempted to attach from the service test3 - not the container
Describe the results you expected:
Project should come up with the attached volume from the container named
test3
(in this case it's thetest1
service.Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker compose version
:Output of
docker info
:Additional environment details:
n/a
The text was updated successfully, but these errors were encountered: