Hi again bis,
if i clone the basex repos
git clone https://github.com/BaseXdb/basex.git
and
docker build . -t basexhttp_test
then
docker run --name basexhttp_test --publish 1984:1984 --publish 8984:8984 basexhttp_test
basex folders have the right owner
bach
On lundi 6 décembre 2021 15:32:41 CET scbh wrote:
> Hi again,
>
> Sorry, i forgot to mention that i am on my local laptop running with archlinux
> i configured docker following the arch wiki https://wiki.archlinux.org/title/Docker
>
> $ docker info
> Client:
> Context: default
> Debug Mode: false
> Plugins:
> buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
> compose: Docker Compose (Docker Inc., 2.2.0)
>
> Server:
> Containers: 416
> Running: 7
> Paused: 0
> Stopped: 409
> Images: 2184
> Server Version: 20.10.11
> Storage Driver: overlay2
> Backing Filesystem: extfs
> Supports d_type: true
> Native Overlay Diff: false
> userxattr: false
> Logging Driver: json-file
> Cgroup Driver: systemd
> Cgroup Version: 2
> Plugins:
> Volume: local
> Network: bridge host ipvlan macvlan null overlay
> Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
> Swarm: inactive
> Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
> Default Runtime: runc
> Init Binary: docker-init
> containerd version: 1e5ef943eb76627a6d3b6de8cd1ef6537f393a71.m
> runc version: v1.0.2-0-g52b36a2d
> init version: de40ad0
> Security Options:
> seccomp
> Profile: default
> cgroupns
> Kernel Version: 5.10.83-1-lts
> Operating System: Arch Linux
> OSType: linux
> Architecture: x86_64
> CPUs: 12
> Total Memory: 15.53GiB
> Name: razerblade-arch-bach
> ID: 6YRW:DQI5:OEV3:GNC6:PWBQ:R5A6:GD7X:ATDA:KCT5:5QYF:6QFE:CR77
> Docker Root Dir: /home/bach/.docker
> Debug Mode: false
> Registry: https://index.docker.io/v1/
> Labels:
> Experimental: false
> Insecure Registries:
> 127.0.0.0/8
> Live Restore Enabled: false
>
>
> bach
>
>
> On lundi 6 décembre 2021 15:04:13 CET scbh wrote:
> > Hi,
> >
> > I'm new here, but i work since a few years on a vuejs client which is using basex as api.
> > I had a docker environement running very well until recently, but now my basex container is launching correctly any more.
> >
> > In the basex container all folders inside /srv/basex are own by 1000:users instead of basex:basex, so basex gives permissions error.
> > It's like if the line ```chown -R basex /srv``` of docker file is never fired
> >
> > ```
> > bash-4.4# echo "$PWD"
> > /srv/basex
> > bash-4.4# ls -ls
> > total 12
> > 4 drwxr-sr-x 2 1000 users 4096 Jul 26 11:38 data
> > 4 drwxr-sr-x 2 1000 users 4096 Jul 26 11:38 repo
> > 4 drwxr-sr-x 3 1000 users 4096 Dec 6 13:56 webapp
> > ```
> >
> > here are the logs of a simple ```docker run --name basexhttp --publish 1984:1984 --publish 8984:8984 basex/basexhttp:latest```
> > https://figureslibres.io/zerobin/?4e8c389730a39e67#Hzw8dqCkTuVvia8t3YimhLLdxkhT5rBUtJRYLwmRRMEr
> >
> > i'm stuck with this problème for days now, please help
> > thank you very much !
> >
> >
> > ps : the main project is here https://figureslibres.io/gogs/bachir/docker-gdp
> >
> > bach
> >
> >
> >
> >
> >
>
>
>
>