Git Product home page Git Product logo

docker-runtime-user's Introduction

mbentley/runtime-user

docker image to demonstrate creating a user and group at runtime; based off of alpine:latest

Build image:

docker build -t mbentley/runtime-user .

Example usage:

docker run -it --rm \
  -e MY_USERNAME=default \
  -e MY_GROUP=default \
  -e MY_UID=1000 \
  -e MY_GID=1000 \
  mbentley/runtime-user

Startup environment variables:

  • MY_USERNAME - (default: default) username to use inside the container
  • MY_GROUP - (default: default) group name to use inside the container
  • MY_UID - (default: 1000) UID of the new user inside the container; this is important if you want to have the UID outside the container match inside
  • MY_GID - (default: 1000) GID of the new user's group inside the container; this is important if you want to have the GID outside the container match inside

docker-runtime-user's People

Contributors

mbentley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.