We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run any task like grunt dock:list, there is no result coming out. It seems like the plugin is not working.
grunt dock:list
My Gruntfile.js:
var fs = require('fs'), path = require('path'), utils = require('grunt-dock/lib/utils'); module.exports = function(grunt) { require('load-grunt-tasks')(grunt); var caPath = path.resolve(utils.getUserHome(), '.boot2docker/certs/boot2docker-vm/', 'ca.pem'), certPath = path.resolve(utils.getUserHome(), '.boot2docker/certs/boot2docker-vm/', 'cert.pem'), keyPath = path.resolve(utils.getUserHome(), '.boot2docker/certs/boot2docker-vm/', 'key.pem'); grunt.initConfig({ dock: { options: { // Docker connection options // For this example, assume it is a Boot2Docker config. // By default, Boot2Docker only accepts secure connection. docker: { protocol: 'https', host: '192.168.59.99', port: '2376', ca: fs.readFileSync(caPath), cert: fs.readFileSync(certPath), key: fs.readFileSync(keyPath) }, images: { // The 'simple' image 'tjwudi/wudi-link': { // The Dockerfile to use dockerfile: './Dockerfile', // Options for dockerode options: { // When starting the container: // Bind the container port to the host (same port) // + // Bind the './bundle' directory to the '/bundle' container one start: { "PortBindings": { "3000/tcp": [ { "HostPort": "8080" } ] }, "Binds":[__dirname + ":/src"] }, // For the logs command, we want to display stdout logs: { stdout: true } } } } } } }); require('grunt-dock/tasks/dock')(grunt); };
The text was updated successfully, but these errors were encountered:
Sorry for the delay, I will have a look soon and come back
Sorry, something went wrong.
No branches or pull requests
When I run any task like
grunt dock:list
, there is no result coming out. It seems like the plugin is not working.My Gruntfile.js:
The text was updated successfully, but these errors were encountered: