You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As found in the Dockerfile for Debian the id -u and id -g of the valkey user are 999:999 so all the host bind mounts are chowned to 999:999
The relevant part of my config is :
############################## APPEND ONLY MODE ###############################
appendonly yes
appendfilename "appendonly.aof"
appenddirname "appendonlydir"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
aof-use-rdb-preamble yes
aof-timestamp-enabled no
Still I get the following error in the logs :
1:C 11 May 2024 03:10:48.011 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:C 11 May 2024 03:10:48.011 * oO0OoO0OoO0Oo Valkey is starting oO0OoO0OoO0Oo
1:C 11 May 2024 03:10:48.011 * Valkey version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 11 May 2024 03:10:48.011 * Configuration loaded
1:M 11 May 2024 03:10:48.011 * monotonic clock: POSIX clock_gettime
.+^+.
.+#########+.
.+########+########+. Valkey 7.2.5 (00000000/0) 64 bit
.+########+' '+########+.
.########+' .+. '+########. Running in standalone mode|####+' .+#######+. '+####| Port: 41209|###| .+###############+. |###| PID: 1|###| |#####*'' ''*#####| |###||###| |####' .-. '####| |###||###| |###( (@@@) )###| |###| https://valkey.io|###| |####. '-' .####| |###||###| |#####*. .*#####| |###||###| '+#####| |#####+' |###||####+. +##| |#+' .+####|'#######+ |##| .+########''+###| |##| .+########+''| |####+########+'
+#########+''+v+'
1:M 11 May 2024 03:10:48.013 # WARNING: The TCP backlog setting of 10000 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 4096.
1:M 11 May 2024 03:10:48.015 * Server initialized
1:M 11 May 2024 03:10:48.015 # Can't open or create append-only dir appendonlydir: Permission denied
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey I cant manage to get valkey alpine and debian containers to work with bind mounts, here's the command I use :
As found in the Dockerfile for Debian the
id -u and id -g
of the valkey user are999:999
so all the host bind mounts are chowned to999:999
The relevant part of my config is :
Still I get the following error in the logs :
Can someone help me with that?
Beta Was this translation helpful? Give feedback.
All reactions