Search code examples
ubuntudockermacos-sierra

Docker Ubuntu instance not connecting to the network


I am running Docker 1.12.1 on macOS Sierra 10.12.1. I have downloaded an Ubuntu 16.04 image which I intend to configure to use as the basis for my Webpack building on Bitbucket Pipelines.

There are a handful of questions on StackOverflow pertaining to this issue. I have followed them all, but yielding on meagre results.

It appears that my Ubuntu instance is not connected to the network. I know enough about networking to diagnose this problem, but not enough to investigate or fix. Can anyone help?


Solution

  • Using Ubuntu 14.04 will solve this problem. As Ubuntu 16.04 is not that stable to perform all your task. Also there are some network related issues in Ubuntu 16.04 which I have faced personally. Trying Ubuntu 14.04 - Trusty and Ubuntu 12.04 - Precise will not create these issues and solve most of your problems.