fixuid

Go binary to change Docker container user/group and file permissions at runtime (by boxboat)

Fixuid Alternatives

Similar projects and alternatives to fixuid

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fixuid alternative or higher similarity.

fixuid reviews and mentions

Posts with mentions or reviews of fixuid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-28.
  • Avoid creating files owned by root?
    1 project | /r/docker | 11 Feb 2023
  • File permission for docker containers
    1 project | /r/docker | 20 Sep 2022
    Please check the following: https://docs.docker.com/storage/bind-mounts https://docs.docker.com/storage/volumes https://en.wikipedia.org/wiki/User_identifier (Unix-like operating systems identify a user by a value called a user identifier...) https://stackoverflow.com/q/23544282/5113030 (What is the (best) way to manage permissions for Docker shared volumes?...) https://stackoverflow.com/q/29245216/5113030 ((Bind-mounted) volumes in Docker will maintain the permissions that are set on...) https://stackoverflow.com/q/34031397/5113030 (Running docker on Ubuntu: mounted host volume is not writable from container...) https://stackoverflow.com/q/44683119/5113030 (Dockerfile replicate the host user UID and GID to the image...) https://boxboat.com/2017/07/25/fixuid-change-docker-container-uid-gid (Introducing fixuid: Tool for Changing Docker Container UID/GID at Runtime...) https://github.com/boxboat/fixuid (fixuid is a Go binary that changes a Docker container's user/group and file permissions that...)
  • My GHC dev environment with vscode remote & docker
    2 projects | dev.to | 28 Apr 2022
    FROM registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:0849567cd9780cc8e9652118b949cb050c632ef4 ARG UID ARG GID RUN \ curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.5.1/fixuid-0.5.1-linux-amd64.tar.gz | sudo tar -C /usr/local/bin -xzf - && \ sudo chown root:root /usr/local/bin/fixuid && \ sudo chmod 4755 /usr/local/bin/fixuid && \ sudo mkdir -p /etc/fixuid && \ printf "user: ghc\ngroup: ghc\n" | sudo tee /etc/fixuid/config.yml USER ${UID}:${GID} RUN fixuid USER ghc RUN \ sudo rm -r \ /etc/fixuid \ /usr/local/bin/fixuid \ /var/run/fixuid.ran ENV PATH=${PATH}:/home/ghc/.cabal/bin:/opt/ghc/9.2.2/bin RUN \ sudo apt update && \ sudo apt install -y \ bash-completion && \ cd /tmp && \ git clone https://github.com/haskell/haskell-language-server.git && \ cd haskell-language-server && \ cabal --project-file=cabal-ghc92.project update && \ cabal --project-file=cabal-ghc92.project install && \ rm -rf /tmp/*
  • File Permissions: the painful side of Docker (2019)
    4 projects | news.ycombinator.com | 31 May 2021
    For the local development scenario, I made an open source utility that uses the setuid bit to change the UID/GID of a particular user and any files that user owns inside of the container at runtime:

    https://github.com/boxboat/fixuid

  • When running terraform inside container, is it bad idea to run terraform with root user?
    1 project | /r/Terraform | 26 Jan 2021
    You can also look at adding fixuid to the container: https://github.com/boxboat/fixuid
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 8 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic fixuid repo stats
6
460
3.4
9 months ago

boxboat/fixuid is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of fixuid is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com