Closed cusspvz closed 9 years ago
@cusspvz this might help https://docs.docker.com/installation/ubuntulinux/#docker-and-ufw
Docker uses a bridge to manage container networking. By default, UFW drops all forwarding traffic. As a result you will need to enable UFW forwarding:
$ sudo nano /etc/default/ufw
# Change:
# DEFAULT_FORWARD_POLICY="DROP"
# to
DEFAULT_FORWARD_POLICY="ACCEPT"
Thanks for your fast answer! :)
I've done that already, and after a sudo service ufw restart
it told me that ufw
is currently disabled. So possibly it wasn't that.
The environment that strider is running is an Ubuntu 14.04 on top of AWS EC2 Instance.
I did docker run base "ping google.com"
without success, until i've set networking on host mode --net host
.
After some reboots, and without any understandable explanation it seemed to have internet access with default net
mode, but another problem appeared around npm test
.
I use mocha
as test framework, and i've placed it as a devDependency
and binded npm test
to a funky node_modules/mocha/bin/mocha ...
script.
It isn't finding mocha
module, perhaps it could be:
npm install
;I've assigned this issue internally to @fernandoneto , if you don't mind he will talk about this issue with you from here.
Maybe related with #18. I will change the issue title to match the current problem status.
Closing this as it seems the original issue was unrelated to the plugin. #18 still persists though.
... Could not resolve host: github.com