This Docker Container is installing the latest version of Sails as well as PM2 to manage the app, via the
stable tag. You can also choose to install a fixed version of each via the
0.10.32 tag, or running on node 0.11.x via the
This is used by sane, which together with fig will give you an ecosystem, to get your fullstack app started immensly fast, make it completely customizable (you can easily choose MySQL/MongoDB/etc.) and deployable as-is.
Stay tuned for more soon.
The fix for me is to exec into the running container (make sure to set a local volume path to mount the sails folder to), navigate to the /server folder and run
sails new. Then exit. Now statements like the one listed below (docker run --rm -it -v /src artificial/docker-sails:latest sails lift) should work.
grunt-cli: The grunt command line interface. (v0.1.13)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
error: Looks like a Grunt error occurred--
error: Please fix it, then restart Sails to continue running tasks (e.g. watching for changes in assets)
error: Or if you're stuck, check out the troubleshooting tips below.
error: Troubleshooting tips:
error: -> Are "grunt" and related grunt task modules installed locally? Run
npm install if you're not sure.
error: -> You might have a malformed LESS, SASS, CoffeeScript file, etc.
error: *-> Or maybe you don't have permissions to access the
error: If you think this might be the case, try running:
error: sudo chown -R YOUR_COMPUTER_USER_NAME /server/.tmp
I ran it this way
docker run --rm -it -v /src artificial/docker-sails:latest sails lift
Got a grunt-cli error: unable to find local grunt