]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Added docs for ensuring the correct Docker setup on Ubuntu
authorUpasana <me@upasana.me>
Sun, 18 Feb 2018 18:37:51 +0000 (19:37 +0100)
committerDylan William Hardison <dylan@hardison.net>
Sun, 18 Feb 2018 21:04:39 +0000 (16:04 -0500)
README.rst

index 2a7006fd6c319b01c4d2e52432d5f7a4536c275f..ef585bacffbadae8927da6a3c674ace0661e9527 100644 (file)
@@ -154,7 +154,8 @@ While not yet as featureful or complete as the vagrant setup, this repository no
 docker-compose file that will create a local bugzilla for testing.
 
 To use docker-compose, ensure you have the latest Docker install for your environemnt
-(Linux, Windows, or Mac OS).
+(Linux, Windows, or Mac OS). If you are using Ubuntu, then you can read the next section
+to ensure that you have the correct docker setup.
 
 .. code-block:: bash
 
@@ -171,6 +172,32 @@ After that, you should be able to visit http://bmo-web.vm/ from your browser.
 You can login as vagrant@bmo-web.vm with the password "vagrant01!" (without
 quotes).
 
+Ensuring your Docker setup on Ubuntu 16.04
+==========================================
+
+On Ubuntu, Docker can be installed using apt-get. After installing, you need to do run these
+commands to ensure that it has installed fine:
+
+.. code-block:: bash
+
+    sudo groupadd docker # add a new group called "docker"
+    sudo gpasswd -a <your username> docker # add yourself to "docker" group
+
+Log in & log out of your system, so that changes in the above commands will  & do this:
+
+.. code-block:: bash
+
+    sudo service docker restart
+    docker run hello-world
+
+If the output of last command looks like this. then congrats you have installed
+docker successfully:
+
+.. code-block:: bash
+
+    Hello from Docker!
+    This message shows that your installation appears to be working correctly.
+
 Docker Container
 ================