Git Product home page Git Product logo

Comments (7)

 avatar commented on June 12, 2024 2

Hi Joe - i've come across the solution to this indirectly on another project - it's specifically related to Windows and using Git Bash as the terminal ...

moby/moby#24029 ..

"Prefixing the path with a double slash (//bin/bash) should prevent this"

from dockpress.

joepurdy avatar joepurdy commented on June 12, 2024

Sounds like you're trying to run ./develop init from a directory that already contains a src directory.

If you want to trash everything and start fresh you should remove the src directory first. I believe that's rd /s /q "src" on Windows, although if you're using Git Bash as your shell rm -rf src should work.

I'm going to close this, but feel free to comment if there's a bigger issue beyond trashing the existing src directory.

from dockpress.

 avatar commented on June 12, 2024

Thank joe

Actually I’m sure that the ‘src’ folder error only came up when I ran ./develop the second time perhaps?

Everything ran fine till the ./develop bash which I tried on git bash for Windows which I then thought might be the issue as I had problems an before with git bash and certain admin permissions - so that’s the path I followed - tried the same on PowerShell but couldn’t figure how to run a bash command there?

Yeah I’ll scratch it and start again - thanks Joe - really love this bedrock docker procesure - well done

from dockpress.

joepurdy avatar joepurdy commented on June 12, 2024

Let me know if you run into trouble on WIndows! I develop on OSX and arch linux so Windows bugs are a blindspot of mine. 😬

from dockpress.

 avatar commented on June 12, 2024

Sorry just to expand - the route I was investigating was “C:/Program Files/Git/var/www/html' is invalid” - which made me think the script was trying to access my local machine rather than the containers “/var/www/html’ folder?

from dockpress.

 avatar commented on June 12, 2024

Yeah no problem

from dockpress.

joepurdy avatar joepurdy commented on June 12, 2024

Aha! That's good to know, thanks for the heads up about that issue. Glad there was a clear cause and correction.

from dockpress.

Related Issues (3)

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.