s6-log: fatal: unable to mkdir
Hi,
I have a problem with the docker.
When I create my container I have this issue : "s6-log: fatal: unable to mkdir "
/var/log/s6/dovecot /var/log/s6/php-fpm /var/log/s6/spamd /var/log/s6/qpsmtpd-preforkserver /var/log/s6/qmail-send /var/log/s6/cron /var/log/s6/clamd
Effectively this folder doesn't not exsit and when I create this folder I have others issue with other folders
But when I use create this container on my other server I don't have this issue and i create it with the same docker-compose. It's the same OS with the same configuration, with same folders, with same rights.
Comments (7)
-
-
repo owner How are you running docker? As root or user?
-
repo owner Issue
#166was marked as a duplicate of this issue. -
repo owner Issue
#165was marked as a duplicate of this issue. -
Docker is run as root, the same way as the service run it.
-
reporter I'm running Docker on root
-
repo owner - changed status to resolved
Closing for now, in new image folders are internaly moved to /data/log and there is slightly different process of creation. If you will still get these warnings please create new issue...
- Log in to comment
I get such errors every time I install docker and run posteio on fresh installed system (only on CentOS). If I restart system before creating the container I have no errors.