Code Monkey home page Code Monkey logo

larex_docker's People

Contributors

maxnth avatar

Stargazers

 avatar

Watchers

 avatar  avatar

larex_docker's Issues

Local directory is not mounting! How will I access local images in application

I am using the docker image on the window, I have images in the folder name news whose location is this -/Users/upadh/OneDrive/Desktop/news now I tried to mount this but not working only showing a default single image in the application.

Image for more info How Will I access the images of the system in application?

image

cannot see books directory shared from outside the container

Hi again, sorry to bug you! The test book works fine but when I try to set booksdir to point outside the container, i.e. to a directory shared from the host macOS system, no books are visible. The library screen shows only the test book.

I have invoked the container like this

docker run -p 8080:8080 --name larex -v /Users/john/projects/quechua/larex.config -v /Users/john/projects/quechua/books -it maxnth/larex

my larex config is the default. the CLI for the container seems to show that the desired bookdir has been shared

[john-laptop:~] john% docker exec -it f033acf1e4b0a84da4825573a5a6d33b2b99f40d4db6fa5f7595b834c814692c /bin/sh
# cd /Users/john/projects/quechua/books
# ls

but the Larex container doesn't see any files there. From the perspective of macOS, there is plenty

[john-laptop:~/projects/quechua] john% ls -lR books | head -25
total 0
drwxr-xr-x  96 john  staff  3072 Jun  7 16:28 usca_paucar

books/usca_paucar:
total 344568
-rw-r--r--  1 john  staff   799246 Jun  7 16:28 0.png
-rw-r--r--  1 john  staff   579417 Jun  7 16:28 1.png
-rw-r--r--  1 john  staff  2829459 Jun  7 16:28 10.png
-rw-r--r--  1 john  staff  3085255 Jun  7 16:28 11.png
-rw-r--r--  1 john  staff  2989019 Jun  7 16:28 12.png
-rw-r--r--  1 john  staff  2753250 Jun  7 16:28 13.png
-rw-r--r--  1 john  staff  1320797 Jun  7 16:28 14.png
-rw-r--r--  1 john  staff  1853975 Jun  7 16:28 15.png
-rw-r--r--  1 john  staff  1508947 Jun  7 16:28 16.png
-rw-r--r--  1 john  staff  1882543 Jun  7 16:28 17.png
-rw-r--r--  1 john  staff  1588253 Jun  7 16:28 18.png
-rw-r--r--  1 john  staff  1988947 Jun  7 16:28 19.png
-rw-r--r--  1 john  staff   811876 Jun  7 16:28 2.png

just a docker newbie...

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.