You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When docker-compose tries to mount a named volume, by default it prepends the project’s name to the volume, ie, a named volume “nexus-data” will be mounted as “project_nexus-data”. The direct docker command doesn’t prepend the project name so the two commands don’t access the same data. To make docker-compose use the unmodified name, it needs to be marked as an external container and its name specified.
I believe this is a bug.
When docker-compose tries to mount a named volume, by default it prepends the project’s name to the volume, ie, a named volume “nexus-data” will be mounted as “project_nexus-data”. The direct docker command doesn’t prepend the project name so the two commands don’t access the same data. To make docker-compose use the unmodified name, it needs to be marked as an external container and its name specified.
Please provide a sample input docker run command
What is the current output?*
What is the expected/desired output?
The text was updated successfully, but these errors were encountered: