Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superstes/docker-opensearch-uid
Build OpenSearch Docker-Image with custom UID/GID
https://github.com/superstes/docker-opensearch-uid
ansible docker docker-compose docker-image dockerbuild opensearch
Last synced: 4 days ago
JSON representation
Build OpenSearch Docker-Image with custom UID/GID
- Host: GitHub
- URL: https://github.com/superstes/docker-opensearch-uid
- Owner: superstes
- Created: 2023-05-19T09:00:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-15T19:36:38.000Z (8 months ago)
- Last Synced: 2024-05-16T07:10:57.754Z (8 months ago)
- Topics: ansible, docker, docker-compose, docker-image, dockerbuild, opensearch
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Opensearch
This repo shows how to re-build the [official OpenSearch image](https://hub.docker.com/r/opensearchproject/opensearch) to use a custom UID + GID.
That can be useful if you need data-persistence (_using a volume_) and need to map a host-user to the user being used by the container.
The default image uses the UID/GID 1000.
## Options covered here
* Patch existing image (faster, easier)
- [Dockerfile](https://github.com/superstes/docker-opensearch-uid/blob/main/Patch_Dockerfile)
- [Docker-compose](https://github.com/superstes/docker-opensearch-uid/blob/main/Patch_docker-compose.yml)* Re-Build official image
- [Ansible + docker-compose](https://github.com/superstes/docker-opensearch-uid/blob/main/Rebuild_Ansible.yml)
- [Bash + docker build](https://github.com/superstes/docker-opensearch-uid/blob/main/Rebuild_Bash+docker-build.sh)
- [Bash + docker-compose](https://github.com/superstes/docker-opensearch-uid/blob/main/Rebuild_Bash+docker-compose.sh)