Git Product home page Git Product logo

bindmount-apps's Introduction

Bind Mount Applications

This is a repo for new users getting started with Docker.

You can try it out using the following command.

docker compose up -d

And open http://localhost:3001 in your browser.

bindmount-apps's People

Contributors

nunocoracao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

bindmount-apps's Issues

App starting and exiting: log error = enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'

Complete log is:

2024-02-10 14:44:17 npm ERR! code ENOENT
2024-02-10 14:44:17 npm ERR! syscall open
2024-02-10 14:44:17 npm ERR! path /usr/src/app/package.json
2024-02-10 14:44:17 npm ERR! errno -2
2024-02-10 14:44:17 npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
2024-02-10 14:44:17 npm ERR! enoent This is related to npm not being able to find a file.
2024-02-10 14:44:17 npm ERR! enoent
2024-02-10 14:44:17
2024-02-10 14:44:17 npm ERR! A complete log of this run can be found in:
2024-02-10 14:44:17 npm ERR! /home/node/.npm/_logs/2024-02-10T20_44_17_447Z-debug-0.log

This only happens when I uncomment the following lines in compose.yml
volumes:
- ./app:/usr/src/app
- /usr/src/app/node_modules

I'm running windows 10 with the latest docker desktop version
I'm also running docker desktop in Hyper-V mode, not WSL2
I added the folder to the file sharing list in Docker Desktop settings, but that doesn't seem to help.

Update: 2024-2-11:
Trying again today, and it's docker compose up is failing with the following message:
Error response from daemon: driver failed programming external connectivity on endpoint bindmount-apps-todo-app-1 (69390204732ab1e4407d01638e22663ab6a87223df018e682e695683cab239e4): Bind for 0.0.0.0:3001 failed: port is already allocated

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.