Skip to content

Docker Volume #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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