Installing subuser¶
System Requirements¶
- Docker 1.3 or higher
- Python >= 3
- Git
- X11 and the xauth utility (You almost certainly have this)
Installation: Common steps¶
- Add yourself to the docker group.
Warning
Being a member of the docker group is equivalent to having root access.
$ sudo usermod -a -G docker $USER
Install from your distributions package manager¶
Install with pip: Stable version¶
Install subuser from
pip3:$ sudo pip3 install subuser
Add
~/.subuser/binto your path by adding the linePATH=$HOME/.subuser/bin:$PATHto the end of your~/.bashrcfile.Log out and then back in again.
Done!
Install from git: Development version¶
Download the subuser repository:
$ cd $ git clone https://github.com/subuser-security/subuser
Add
subuser/logicand~/.subuser/binto your path by adding the linePATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATHto the end of your.bashrcfile.
Note
You will need to change the path to subuser/logic to refer to the location to which you downloaded subuser.
- Log out and then back in again.
- Done!