You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/20 14:40:05 UTC

[GitHub] tz70s opened a new issue #3468: Docker daemon error under ubuntu xenial

tz70s opened a new issue #3468: Docker daemon error under ubuntu xenial
URL: https://github.com/apache/incubator-openwhisk/issues/3468
 
 
   <!--
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   Local deployment under ubuntu xenial.
   
   ## Steps to reproduce the issue:
   
   ```bash
   # Equivalent steps in tools/ubuntu-setup/docker-xenial.sh
   sudo -E bash -c 'echo '\''DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock --storage-driver=aufs"'\'' >> /etc/default/docker'
   sudo gpasswd -a "$(whoami)" docker
   sudo -E bash -c 'echo '\''export DOCKER_HOST="tcp://0.0.0.0:4243"'\'' >> /etc/bash.bashrc'
   sudo service docker restart
   
   docker ps
   ```
   
   ## Provide the expected results and outputs:
   
   Normal `docker ps` output.
   
   ## Provide the actual results and outputs:
   
   ```bash
   Cannot connect to the Docker daemon at tcp://0.0.0.0:4243. Is the docker daemon running?
   ```
   
   ## Additional information you deem important:
   
   I've got fixed under this [solution](https://stackoverflow.com/questions/44678725/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-is-the-docker).
   
   Therefore, it _might_ need to rewrite some steps in the installation under ubuntu xenial. Related #708 may be required to fix together. Further more, it's better communicate under secure port 2376.
   
   Additional ask, is there any reason to use `aufs` storage-driver instead of `overlay2`? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services