| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Socker is secure for enabling unprivileged users to run Docker containers. It mainly does two things:
Socker is composed of one binary that is a compiled python script. While system administrators can be members of the docker group, regular users can use Docker via Socker.
Socker operation workflow is below:nuitka --recurse-on socker.py
mv socker.exe socker
sudo chown 0:0 socker
sudo chmod +s sockersudo vim socker-imagessocker --help
NAME
socker - Secure runner for Docker containers
SYNOPSIS
socker run <docker-image> <command>
OPTIONS
--version
show the version number and exit
-h, --help
show this help message and exit
-v, --verbose
run in verbose mode
images
List the authorized Docker images (found in socker-images)
run IMAGE COMMAND
start a container from IMAGE executing COMMAND as the user
EXAMPLES
List available images
$ socker images
Run a CentOS container and print the system release
$ socker run centos cat /etc/system-release
Run the previous command in verbose mode
$ socker -v run centos cat /etc/system-release
SUPPORT
Contact hpc-drift@usit.uio.noReport an issue on the issues section or send an email to azab@usit.uio.no
| Back | FazBrowse Home | New Git URL |