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
export MYSQL_DIRECTORY="/foo"
ERROR: compose.cli.main.main: Named volume ""/foo":/var/lib/mysql:rw" is used in service "mysql" but no declaration was found in the volumes section.`
Working
volumes:- "${MYSQL_DIRECTORY}:/var/lib/mysql"
export MYSQL_DIRECTORY=/foo
Suggestion
docker-compose should treat quoted absolute paths as paths
The text was updated successfully, but these errors were encountered:
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.
Foreword
Tested with 1.8.1 and 1.9.0-rc4
Not Working
and
Working
export MYSQL_DIRECTORY=/foo
Suggestion
docker-compose should treat quoted absolute paths as paths
The text was updated successfully, but these errors were encountered: