Sign inSign up

grillon/docker-shellinabox

By grillon

•Updated almost 11 years ago

Shellinabox tmux git tig vim todo.txt

Image
1

577

grillon/docker-shellinabox repository overview

⁠Table Of Contents

⁠Introduction

Dockerfile to build a shellinabox container image. I fork the ubuntu version 2.14-1(sspreitzer/shellinabox:latest) to upgrade to version 2.18 and adpate it to centos container

I put these additionnal packages on there latest version for centos latest :

  • tmux
  • resurrect
  • git
  • tig
  • vim
  • todo.txt version 2.10

⁠Version

Current Version: 2.18

⁠Usage

⁠Pull The Image

Pull the latest image, which is HEAD of the git repository.

docker pull grillon/docker-shellinabox

⁠Run The Image

For example.

docker run -p 4200:4200 -e SIAB_PASSWORD=xyz678abc -e SIAB_SUDO=true grillon/docker-shellinabox

⁠Configuration

⁠Available Configuration Parameters

  • SIAB_USERCSS: String of configured and enabled css extensions. Defaults to system default list.
  • SIAB_PORT The port where shellinabox should listen to. Defaults to 4200.
  • SIAB_ADDUSER Whether to create a default user. Defaults to true.
  • SIAB_USER The name of the user. Defaults to guest.
  • SIAB_USERID The numeric ID of the user. Defaults to 1000.
  • SIAB_GROUP The primary group of the user. Defaults to guest.
  • SIAB_GROUPID The numeric ID of the primary group of the user. Defaults to 1000.
  • SIAB_PASSWORD The password of the user. Defaults to an autogenerated password, printed out on stdout.
  • SIAB_SHELL The shell of the user. Defaults to /bin/bash.
  • SIAB_HOME The home directory of the user. Defaults to /home/guest.
  • SIAB_SUDO Whether to allow user to sudo. Defaults to false.
  • SIAB_SSL Whether to enable ssl and create certificates on request. Defaults to true.
  • SIAB_SERVICE Service strings to use for shellinabox, separated by whitespace. Defaults to local logins /:LOGIN.
  • SIAB_PKGS Packages to be installed before shellinabox starts. Defaults to none.
  • SIAB_SCRIPT Script to download and run before shellinabox start. SSL verification is disabled. Defaults to none.

⁠References

Tag summary

Content type

Image

Digest

sha256:2246e51fd…

Size

151.4 MB

Last updated

almost 11 years ago

docker pull grillon/docker-shellinabox