Skip to content

What's the purpose of the VOLUMEs in the Dockerfile? #446

@western-hoolock

Description

@western-hoolock

I'm using this image with a docker-compose file to set environment variables, works nicely. However the VOLUME in the Dockerfile of this image is causing 5 new volume to be created every single time I do a docker-compose up/down.
What's the purpose of declaring those VOLUMEs in the Dockerfile? I know I can declare named volumes in my docker-compose file but I'm not sure why the VOLUME is needed in the Dockerfile in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions