Skip to content

Commit 9784c0e

Browse files
authored
Merge pull request #366 from unique-EJ/patch-1
Edits to README.rst
2 parents 981c7e2 + bc58b10 commit 9784c0e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Subuser - Securing the Linux desktop with Docker
44
.. image:: https://avatars0.githubusercontent.com/u/6707097?s=200&v=4
55
:target: https://subuser.org
66

7-
`Visit us at subuser.org <http://subuser.org>`_
7+
`Visit us at subuser.org <https://subuser.org>`_
88

99
.. image:: https://github.com/subuser-security/subuser/workflows/ci/badge.svg?branch=master
1010
:target: https://github.com/subuser-security/subuser/actions?query=workflow%3Aci+branch%3Amaster
@@ -26,7 +26,7 @@ Right now I'm editing this file in ``vim``. ``vim`` is not installed on my comp
2626

2727
$ vim README.md
2828

29-
Subuser turns a docker container into a normal program. But this program is not fully privileged. It can only access the directory from which it was called, `not my entire home dir <https://xkcd.com/1200/>`_. Each subuser is assigned a specific set of permissions, just like in Android. You can see an example ``permissions.json`` file bellow.
29+
Subuser turns a Docker container into a normal program. But this program is not fully privileged. It can only access the directory from which it was called, `not my entire home dir <https://xkcd.com/1200/>`_. Each subuser is assigned a specific set of permissions, just like in Android. You can see an example ``permissions.json`` file below.
3030

3131
::
3232

@@ -54,7 +54,7 @@ System Requirements
5454

5555
* Git
5656

57-
* X11 and the xauth utility (You almost certainly have this)
57+
* X11 - X.Org X server - and the xauth utility (You almost certainly have this)
5858

5959
* sudo (if you don't want to become a member of the docker group)
6060

@@ -80,12 +80,14 @@ Install with pip3: Stable version
8080

8181
Find ``sudo`` and add your username to the end of the line.
8282

83-
2. Install subuser from pip3.
83+
2. Install subuser from pip3. In a virtual environment if Python 3 is managed by Debian/Ubuntu distribution packaging.
8484

8585
$ sudo pip3 install subuser
8686

8787
3. Add ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file.
8888

89+
$ echo -n -e '\nPATH=$HOME/.subuser/bin:$PATH' >> ~/.bashrc
90+
8991
4. Log out and then back in again.
9092

9193
5. Done!
@@ -104,10 +106,12 @@ Install from git: Development version
104106

105107
3. Add ``subuser/logic`` and ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file.
106108

109+
$ echo -n -e '\nPATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH' >> ~/.bashrc
110+
107111
.. note:: You will need to change the path to ``subuser/logic`` to refer to the location to which you downloaded subuser.
108112

109113
4. Log out and then back in again.
110114

111115
5. Done!
112116

113-
To learn more and read the full manual please visit `subuser.org <http://subuser.org>`_
117+
To learn more and read the full manual please visit `subuser.org <https://subuser.org>`_

subuserlib/classes/repositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from subuserlib.classes.repository import Repository
1717
import subuserlib.loadMultiFallbackJsonConfigFile
1818

19-
class Repositories(collections.Mapping,UserOwnedObject,FileBackedObject):
19+
class Repositories(collections.abc.Mapping,UserOwnedObject,FileBackedObject):
2020
def __init__(self,user):
2121
self.systemRepositories = {} # TODO rename and document these variables
2222
self.userRepositories = {}

0 commit comments

Comments
 (0)