Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattwelke/docker-executable-with-custom-user-example


https://github.com/mattwelke/docker-executable-with-custom-user-example

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# docker-executable-with-custom-user-example

An example for how to build a Dockerfile where it executes a file, but the user executing it is not the root user. See `Dockerfile` for details.

To build and run the image:

```bash
./build.sh && docker run --rm docker-executable-with-custom-user-example
```

Example output:

```
...
Hello, World! I am myuser
```