Giter Site home page Giter Site logo

Compose file invalid about docker-nfs HOT 3 OPEN

maggie44 avatar maggie44 commented on June 11, 2024
Compose file invalid

from docker-nfs.

Comments (3)

maggie44 avatar maggie44 commented on June 11, 2024

Have you tried modifying this: https://github.com/maggie0002/docker-nfs/blob/46e8cea80b2e53d8733df839222d6e992df11f21/docker-compose.yml#L15

If you have and this isn't helping, I would need to know more about where the error is from and when to be able to help.

There is also a newer version of NFS serving that may be helpful: https://hub.balena.io/organizations/maggie0002/blocks/nfs-server

from docker-nfs.

 avatar commented on June 11, 2024

from docker-nfs.

maggie44 avatar maggie44 commented on June 11, 2024

This block is probably better then: https://hub.balena.io/organizations/maggie0002/blocks/nfs-server

You could change the volume name from nfs:/nfs to your-existing-volume:/nfs.

services:
  nfs:
    image: bh.cr/maggie0002/nfs-server
    volumes:
+      - "nfs:/nfs"
    restart: always
    network_mode: host
    privileged: true
    labels:
      io.balena.features.kernel-modules: "1"
      io.balena.features.sysfs: "1"
      io.balena.features.procfs: "1"

    # If content from your primary image is required in the volume ensure this container depends
    # on the primary image. This will ensure your primary container creates the volume and inserts
    # your content.

    # depends_on:
    #  - name_of_primary_container

volumes:
  nfs:

from docker-nfs.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.