lloyd konneker created MYNEWT-328:
-------------------------------------
Summary: Docker container instructions should say to add user to
group docker
Key: MYNEWT-328
URL: https://issues.apache.org/jira/browse/MYNEWT-328
Project: Mynewt
Issue Type: Improvement
Components: Documentation
Affects Versions: WISHLIST
Environment: Ubuntu 16.04, mynewt 0.9
Reporter: lloyd konneker
Assignee: Aditi Hilbert
Priority: Trivial
If you follow the documented example for installing Docker and the mynewt
container, it fails with "Failed to connect to Docker daemon", UNLESS you
follow the instructions given at docker.com for adding your user to the group
docker.
I think the documentation could say "Be sure to follow the Docker installation
instructions related to group docker. You must be able to run the docker
command from a terminal without prefacing it with sudo." (An alternative fix
is to add "sudo" to the newt script?)
The instructions at docker.com for Linux installation using Ubuntu have
"Optional Configuration" steps. The step of adding your user to the docker
group seems necessary to use newt as described. Some of the other steps such
as "Configure Docker daemon to start on boot" don't seem to be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)