CrystalSpore / runStart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RunStart

A simple flexible docker container that runs a start.sh script provided by either the archive-to-download or on a mounted volume


Options

SRC_ARCHIVE_URL Download URL to any archive format supported by aunpack. Can optionally include the start.sh in this archive.
Map a Volume Map a docker volume for either persistent storage, or for the start.sh script, or all the above. Use the format /local/path/to/dir:/mnt for mounting

Docker Hub Page

https://hub.docker.com/r/snreloaded/runstart

RunStart types

latest         : base image. Manual install for any additional requirements beyond basic shell usage
python3-latest : python3 & pip pre-installed beyond the base image
java17-latest  : java17 pre-installed beyond the base image

Example docker run Command:

docker run -d -it --name <image_name> -v /local/path/to/dir:/mnt --env SRC_ARCHIVE_URL="remote_archive_to_download" --env OTHER_VAR="Optional_Additional_Values_You_Wish_To_Map" snreloaded/runstart:latest

Potential questions:

  1. Q: This project seems cool! How do I use it for myself?
    A: There are various different container orchestration tools, such as Portainer & Rancher, that this should work with, but the simplest docker run command can be seen documented above (tagging the latest build). If you want to tag a specific version, refer to the docker hub page for all the tagged versions.

About

License:MIT License


Languages

Language:Shell 64.7%Language:Dockerfile 35.3%