Skip to content

Instantly share code, notes, and snippets.

@mrtns
Last active July 11, 2024 11:13
Show Gist options
  • Save mrtns/69a92fb387c20bf9add622c4304876b6 to your computer and use it in GitHub Desktop.
Save mrtns/69a92fb387c20bf9add622c4304876b6 to your computer and use it in GitHub Desktop.

Revisions

  1. mrtns revised this gist Apr 24, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -11,5 +11,5 @@ Prior to Docker supporting User Namespaces
    * [Mounting volumes and mapping host user to docker user](https://github.com/moby/moby/issues/22258) Apr 2016

    With User Namespaces
    * [Using User Namespaces on Docker](https://coderwall.com/p/s_ydlq/using-user-namespaces-on-docker)
    * [Using User Namespaces on Docker](https://coderwall.com/p/s_ydlq/using-user-namespaces-on-docker) Nov 2017
    * [Docker and --userns-remap, how to manage volume permissions to share data between host and container?](https://stackoverflow.com/questions/35291520/docker-and-userns-remap-how-to-manage-volume-permissions-to-share-data-betwee) Feb 2016
  2. mrtns revised this gist Apr 24, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,15 @@
    h1. Background
    # Background

    * [Understanding how uid and gid work in Docker containers](https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf) Jan 2017
    * [Processes In Containers Should Not Run As Root](https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b) Sept 2017


    h1. Solutions
    # Solutions

    Prior to Docker supporting User Namespaces
    * [Handling Permissions with Docker Volumes](https://denibertovic.com/posts/handling-permissions-with-docker-volumes/) Feb 2016
    * [Mounting volumes and mapping host user to docker user](https://github.com/moby/moby/issues/22258) Apr 2016

    With User Namespaces
    * [Using User Namespaces on Docker](https://coderwall.com/p/s_ydlq/using-user-namespaces-on-docker)
    * [Docker and --userns-remap, how to manage volume permissions to share data between host and container?](https://stackoverflow.com/questions/35291520/docker-and-userns-remap-how-to-manage-volume-permissions-to-share-data-betwee)
    * [Docker and --userns-remap, how to manage volume permissions to share data between host and container?](https://stackoverflow.com/questions/35291520/docker-and-userns-remap-how-to-manage-volume-permissions-to-share-data-betwee) Feb 2016
  3. mrtns created this gist Apr 24, 2018.
    15 changes: 15 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    h1. Background

    * [Understanding how uid and gid work in Docker containers](https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf) Jan 2017
    * [Processes In Containers Should Not Run As Root](https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b) Sept 2017


    h1. Solutions

    Prior to Docker supporting User Namespaces
    * [Handling Permissions with Docker Volumes](https://denibertovic.com/posts/handling-permissions-with-docker-volumes/) Feb 2016
    * [Mounting volumes and mapping host user to docker user](https://github.com/moby/moby/issues/22258) Apr 2016

    With User Namespaces
    * [Using User Namespaces on Docker](https://coderwall.com/p/s_ydlq/using-user-namespaces-on-docker)
    * [Docker and --userns-remap, how to manage volume permissions to share data between host and container?](https://stackoverflow.com/questions/35291520/docker-and-userns-remap-how-to-manage-volume-permissions-to-share-data-betwee)