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

Unexpected volume mappings manifesting as 'No Folder' in Kitematic #9

Open
cmelion opened this issue May 15, 2016 · 1 comment
Open

Comments

@cmelion
Copy link

cmelion commented May 15, 2016

Using the following config:

var image = 'cmelion/generator-ng2-webpack:latest';
var cwd = process.cwd();
var options =  {
    name: cwd.split('/').pop(),
    ports: {
        2368: 2368
    },
    volumes: {
        [cwd + '/package.json']: '/home/yeoman/client/package.json',
        [cwd + '/api']: '/home/yeoman/client/api',
        [cwd + '/config']: '/home/yeoman/client/config',
        [cwd + '/src']: '/home/yeoman/client/src'
    }
};

actual result (with additional config folder):
screenshot 2016-05-15 12 13 15

expected result (from performing docker run with -v mappings):
screenshot 2016-05-15 12 08 48

@cmelion cmelion changed the title Unexpected volume mappings Unexpected volume mappings manifesting as 'No Folder' in Kitematic May 15, 2016
@cmelion
Copy link
Author

cmelion commented May 16, 2016

Unfortunately webpack dev server no longer syncs when using docker-run. I had to revert to using:
"docker-start": "docker run --rm --name ${PWD##*/} -i -p 2368:2368 -v $(pwd)/package.json:/home/yeoman/client/package.json -v $(pwd)/src:/home/yeoman/client/src -v $(pwd)/api:/home/yeoman/client/api cmelion/generator-ng2-webpack:latest",

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

1 participant