Skip to content

DoSH - Docker SHell

Latest
Compare
Choose a tag to compare
@dealfonso dealfonso released this 03 Dec 13:10

This is the second version of DoSH (which stands for Docker SHell), that enables to use Docker containers to run the shell of the users in your Linux system.

This version adds support for parameters in the commandline (e.g. dosh -c "ls -l" or dosh -s <<< "ls -l")

This revision includes the customization of the names of the containers, configuring the prefix in the configuration file.

Summary and motivation

DoSH provides a configurable and secure mechanism to make that when a user logs-in a Linux system, a customized (or standard) container will be created for him. This will enable to limit the resources that the user is able to use, the applications, etc. but also provide custom linux flavour for each user or group of users.

We can consider that the usage of Docker is secure if the containers are ran under the credentials of regular users, and the devices and other critical resources that are attached to the container are used under these credentials. So users can be allowed to run Docker containers if they are forced to include the flat -u <uid>:<gid> and the rest of the commandline is controlled.

More details can be found in this link.