Size: 272
Comment:
|
Size: 1221
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= How to setup a docker container = | <<TableOfContents(3)>> = How to install Docker on Ubuntu 16.04 = |
Line 5: | Line 7: |
To be continued ... | = Installing Wharfer on one of the AD machines = TODO(Niklas): bitte korrigieren / ergänzen {{{ sudo vim /etc/docker/daemon.json -> user namespace eintrage (TODO: was konkret?) https://github.com/ad-freiburg/docker-no-trivial-root#building (TODO: genau welche Abschnitte?) git clone <wharfer-binary> (TODO: wo hin kopieren?) }}} = Docker Troubleshooting = == "docker: Got permission denied while trying to connect" or "ERROR: Couldn't connect to Docker daemon" (2018-01-19) == '''WARNING: This is defacto equivalent to root access''' We're currently working on two solutions that combined should in the future be relatively safe. These are [[https://github.com/ad-freiburg/wharfer|wharfer]] and [[https://github.com/ad-freiburg/docker-no-trivial-root|docker-no-trivial-root]] Add user to group docker and switch to that group: {{{ sudo usermod -aG docker <username> # Logout # Login newgrp docker }}} |
Contents
How to install Docker on Ubuntu 16.04
How To Install and Use Docker on Ubuntu 16.04 (very well explained + provides interesting details + it works)
Installing Wharfer on one of the AD machines
TODO(Niklas): bitte korrigieren / ergänzen
sudo vim /etc/docker/daemon.json -> user namespace eintrage (TODO: was konkret?) https://github.com/ad-freiburg/docker-no-trivial-root#building (TODO: genau welche Abschnitte?) git clone <wharfer-binary> (TODO: wo hin kopieren?)
Docker Troubleshooting
"docker: Got permission denied while trying to connect" or "ERROR: Couldn't connect to Docker daemon" (2018-01-19)
WARNING: This is defacto equivalent to root access
We're currently working on two solutions that combined should in the future be relatively safe. These are wharfer and docker-no-trivial-root
Add user to group docker and switch to that group:
sudo usermod -aG docker <username> # Logout # Login newgrp docker