Update notes for 2019-02-15

This commit is contained in:
2019-02-15 17:37:14 +02:00
parent 704a5c2f32
commit 6366cf9bb3
3 changed files with 35 additions and 8 deletions

View File

@ -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: -->