Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexmanno/docker-user-wrapper
https://github.com/alexmanno/docker-user-wrapper
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexmanno/docker-user-wrapper
- Owner: alexmanno
- Created: 2018-11-24T17:24:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T19:48:55.000Z (about 6 years ago)
- Last Synced: 2024-10-30T08:21:37.242Z (about 2 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-user-wrapper
Add user with the same `uid` of local user to docker image to avoid permissions issue.
```bash
Usage: ./dupper [--tag TAG] IMAGE_TAG-t, --tag [TAG] New tag image [default: dupper_IMAGE_TAG]
-u, --user [USER] Custom username [default: $USER]
--add-group [GROUP] Add user to group
--to-file [FILE] Dump Dockerfile to file
-v, --verbose Print debug dataExamples:
./dupper php:7.2
./dupper ubuntu:latest --tag custom_tag
./dupper alpine:latest --user custom_user
./dupper apache:latest --to-file Dockerfile
./dupper php:7.2 -v --add-group www-data
```