Skip to content

Docker Volume #2

@SebStaeubert

Description

@SebStaeubert

Hi,

you use 'Volume' in the Dockerfile
https://github.com/Dockerizing/OntoWiki/blob/master/Dockerfile
175f8eb

If one has to modify something in /var/www/html , e.g. in docker-compose or an other Dockerfile which uses the ontowiki container, this would have no effect because the VOLUME "seals" this directory!
It is better to define the Volume in docker-compose.yml

  ontowiki:
    build: ./ontowiki
    volumes:
      - /var/www/html
    links:
      - virtuoso

Regards,
Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions