Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker run can't find ionic.config.json file #3

Open
mavogel opened this issue Feb 12, 2017 · 2 comments
Open

Docker run can't find ionic.config.json file #3

mavogel opened this issue Feb 12, 2017 · 2 comments

Comments

@mavogel
Copy link

mavogel commented Feb 12, 2017

First of all thanks for the ionic2-boilerplate. Awesome project!
The docker run command provided in the README do not work for me. Neither

$ pwd
/Users/mavogel/Development/angular/ionic2-boilerplate
$ docker run -ti --rm -p 8100:8100 -p 35729:35729 marcoturi/ionic
******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************
Couldn't find ionic.config.json file. Are you in an Ionic project?

nor

$ docker run -ti --rm -p 8100:8100 -p 35729:35729 -v ~/Development/angular2/ionic2-boilerplate/:/myApp:rw marcoturi/ionic
...

complain about not being in an Ionic project, but I'm definetly in an Ionic project folder:

$ ionic info

Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v6.9.1
Xcode version: Xcode 8.2.1 Build version 8C1002

Did I miss something? Does this work for you?
https://github.com/agileek/docker you used as inspiration doesn't have related issues. Checked it already

@mavogel mavogel changed the title Docker run commands do not work Docker run can't find ionic.config.json file Feb 12, 2017
@RobertYoung
Copy link

The docker working directory is "Sources".

Changing -v ~/Development/angular2/ionic2-boilerplate/:/myApp:rw to -v ~/Development/angular2/ionic2-boilerplate/:/Sources:rw should work. Or alternatively, change the working directory using -w myApp

@pengkobe
Copy link

still not working on windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants