| ... | ... |
@@ -11,18 +11,27 @@ PostgreSQL Service |
| 11 | 11 |
|
| 12 | 12 |
A shorter version of `this blog post`_. |
| 13 | 13 |
|
| 14 |
+.. note:: |
|
| 15 |
+ |
|
| 16 |
+ As of version 0.5.2, docker requires root privileges to run. |
|
| 17 |
+ You have to either manually adjust your system configuration (permissions on |
|
| 18 |
+ /var/run/docker.sock or sudo config), or prefix `docker` with `sudo`. Check |
|
| 19 |
+ `this thread`_ for details. |
|
| 20 |
+ |
|
| 14 | 21 |
.. _this blog post: http://zaiste.net/2013/08/docker_postgresql_how_to/ |
| 22 |
+.. _this thread: https://groups.google.com/forum/?fromgroups#!topic/docker-club/P3xDLqmLp0E |
|
| 15 | 23 |
|
| 16 | 24 |
Installing PostgreSQL on Docker |
| 17 | 25 |
------------------------------- |
| 18 | 26 |
|
| 19 | 27 |
For clarity I won't be showing commands output. |
| 20 | 28 |
|
| 29 |
+ |
|
| 21 | 30 |
Run an interactive shell in Docker container. |
| 22 | 31 |
|
| 23 | 32 |
.. code-block:: bash |
| 24 | 33 |
|
| 25 |
- docker run -i -t base /bin/bash |
|
| 34 |
+ docker run -i -t ubuntu /bin/bash |
|
| 26 | 35 |
|
| 27 | 36 |
Update its dependencies. |
| 28 | 37 |
|