Giter Club home page Giter Club logo

Comments (5)

PetaPetaPeta avatar PetaPetaPeta commented on July 23, 2024

Did you follow the suggestion in this comment? #25 (comment)

from for-win.

roukmoute avatar roukmoute commented on July 23, 2024

Now yes :-D

And it almost work!
It's like if the project is correct but not renamed.

(I precise symfony new test 3.1.3 change nothing)

PS E:\Dropbox\Travail\www\docker> docker run --rm -it -v E:\Dropbox\Travail\www\docker:/tmp -w /tmp roukmoute/symfony-installer new test

  WARNING  Your Symfony Installer version (1.5.6-DEV) is outdated.
 Execute the command "/usr/local/bin/symfony selfupdate" to get the latest version (1.5.8).

 Downloading Symfony...

    5.11 MB/5.11 MB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100%

 Preparing project...




  [RuntimeException]
  Symfony can't be installed because the downloaded package is corrupted.
  To solve this issue, try executing this command again:
  symfony new test 3.1.3



new <directory> [<version>]


PS E:\Dropbox\Travail\www\docker> ls


    Répertoire : E:\Dropbox\Travail\www\docker


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       06/08/2016     20:35                147050853457a62df610568


PS E:\Dropbox\Travail\www\docker> cd .\147050853457a62df610568\
PS E:\Dropbox\Travail\www\docker\147050853457a62df610568> ls


    Répertoire : E:\Dropbox\Travail\www\docker\147050853457a62df610568


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       30/07/2016     11:49                Symfony


PS E:\Dropbox\Travail\www\docker\147050853457a62df610568> cd .\Symfony\
PS E:\Dropbox\Travail\www\docker\147050853457a62df610568\Symfony> ls


    Répertoire : E:\Dropbox\Travail\www\docker\147050853457a62df610568\Symfony


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       06/08/2016     20:36                app
d-----       06/08/2016     20:36                bin
d-----       06/08/2016     20:36                src
d-----       06/08/2016     20:36                tests
d-----       06/08/2016     20:36                var
d-----       06/08/2016     20:35                vendor
d-----       30/07/2016     11:49                web
-a----       30/07/2016     11:46           2640 composer.json
-a----       30/07/2016     11:46          74078 composer.lock
-a----       30/07/2016     11:46           1065 LICENSE
-a----       30/07/2016     11:46            978 phpunit.xml.dist
-a----       30/07/2016     11:46           2285 README.md


PS E:\Dropbox\Travail\www\docker\147050853457a62df610568\Symfony>

from for-win.

roukmoute avatar roukmoute commented on July 23, 2024

OK :)

I don't know why but apparently the problem comes from folder /tmp.
If I do exactly the same command but replace /tmp with /code, it works:

docker run --rm -it -v E:\Dropbox\Travail\www\docker:/code -w /code roukmoute/symfony-installer new test

from for-win.

rn avatar rn commented on July 23, 2024

Hi @roukmoute. Thanks for your report. In general using /tmp works:

PS C:\Users\rneugeba> docker run --rm -v c:/Users:/tmp alpine ls /tmp
All Users
Default
Default User
Default.migrated
Public
desktop.ini
docker
rneugeba
rolfn
PS C:\Users\rneugeba>

Maybe your application (Symfony) also uses /tmp and it clashes.

Closing this for now, please re-open if there is still an issue.

from for-win.

docker-robott avatar docker-robott commented on July 23, 2024

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

from for-win.

Related Issues (20)

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.