Monday, June 02, 2014

run npm command gives error "/usr/bin/env: node: No such file or directory"

I've found this is often a misnaming error, if you install from a package manager you bin may be called nodejs so you just need to symlink it like so "ln -s /usr/bin/nodejs /usr/bin/node"

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'