mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2019-02-15
This commit is contained in:
@ -725,5 +725,18 @@ $ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser
|
||||
```
|
||||
|
||||
- And it's all running without root!
|
||||
- Then re-create my Artifactory container as well, taking into account ulimit open file requirements by Artifactory as well as the user limitations caused by rootless subuid mappings:
|
||||
|
||||
```
|
||||
$ podman volume create artifactory_data
|
||||
artifactory_data
|
||||
$ podman create --ulimit nofile=32000:32000 --name artifactory -v artifactory_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss
|
||||
$ buildah unshare
|
||||
$ chown -R 1030:1030 ~/.local/share/containers/storage/volumes/artifactory_data
|
||||
$ exit
|
||||
$ podman start artifactory
|
||||
```
|
||||
|
||||
- More on the [subuid permissions issue with rootless containers here](https://podman.io/blogs/2018/10/03/podman-remove-content-homedir.html)
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user