mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.94k stars 1.17k forks source link

docker-compose: can't create Conatiner #1327

Closed Limbolindi closed 6 years ago

Limbolindi commented 6 years ago

Hey, did all exactly acordingly to the instructions: but a few container couldnt be created...

/opt/mailcow-dockerized# docker-compose up -d
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Creating mailcowdockerized_memcached-mailcow_1 ... 
Creating mailcowdockerized_redis-mailcow_1     ... 
Creating mailcowdockerized_watchdog-mailcow_1  ... 
Creating mailcowdockerized_redis-mailcow_1     ... error
Creating mailcowdockerized_mysql-mailcow_1     ... error
Creating mailcowdockerized_dovecot-mailcow_1   ... 
Creating mailcowdockerized_clamd-mailcow_1     ... 
Creating mailcowdockerized_sogo-mailcow_1      ... 
Creating mailcowdockerized_watchdog-mailcow_1  ... error
Creating mailcowdockerized_unbound-mailcow_1   ... 
Creating mailcowdockerized_memcached-mailcow_1 ... done

ERROR: for mailcowdockerized_mysql-mailcow_1  Cannot create container for service mysql-mailcow: open /var/lib/docker/volumes/mailcowdockerized_mysql-vol-1/_data: no such file or directory

Creating mailcowdockerized_postfix-mailcow_1   ... error
Creating mailcowdockerized_dovecot-mailcow_1   ... error
ERROR: for mailcowdockerized_postfix-mailcow_1  Cannot create container for service postfix-mailcow: open /var/lib/docker/volumes/mailcowdockerized_postfix-vol-1/_data: no such file or directory
Creating mailcowdockerized_dockerapi-mailcow_1 ... done
Creating mailcowdockerized_ipv6nat_1           ... done
er init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\\" to rootfs \\\"/var/lib/docker/overlay2/81d9d00fb80d7f0d60699af129388a0737274628b68105e5b0Creating mailcowdockerized_clamd-mailcow_1     ... done
Creating mailcowdockerized_sogo-mailcow_1      ... done
ERROR: for mailcowdockerized_dovecot-mailcow_1  Cannot start service dovecot-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: containerCreating mailcowdockerized_unbound-mailcow_1   ... done
a6698e2c1a99/merged\\\" at \\\"/rspamd-sock\\\" caused \\\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\\"\"": unknown

ERROR: for mysql-mailcow  Cannot create container for service mysql-mailcow: open /var/lib/docker/volumes/mailcowdockerized_mysql-vol-1/_data: no such file or directory

ERROR: for redis-mailcow  Cannot create container for service redis-mailcow: open /var/lib/docker/volumes/mailcowdockerized_redis-vol-1/_data: no such file or directory

ERROR: for postfix-mailcow  Cannot create container for service postfix-mailcow: open /var/lib/docker/volumes/mailcowdockerized_postfix-vol-1/_data: no such file or directory

ERROR: for watchdog-mailcow  Cannot start service watchdog-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\\" to rootfs \\\"/var/lib/docker/overlay2/81d9d00fb80d7f0d60699af129388a0737274628b68105e5b0cb1b4c21b1ae91/merged\\\" at \\\"/rspamd-sock\\\" caused \\\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\\"\"": unknown

ERROR: for dovecot-mailcow  Cannot start service dovecot-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\\" to rootfs \\\"/var/lib/docker/overlay2/a921417ec92afc291fdb583628bbf273d4696f0e64e64d935e2ea6698e2c1a99/merged\\\" at \\\"/rspamd-sock\\\" caused \\\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\\"\"": unknown
ERROR: Encountered errors while bringing up the project.
andryyy commented 6 years ago

But you probably moved/renamed folders before applying the changes.

I’d need to see it, but it is nothing that happens by itself. You should revert whatever you did in /var/lib/docker/volumes

Am 26.04.2018 um 18:25 schrieb Maximilian Lindi notifications@github.com:

Hey, did all exactly acordingly to the instructions: but a few container couldnt be created...

/opt/mailcow-dockerized# docker-compose up -d WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string. Creating mailcowdockerized_memcached-mailcow_1 ... Creating mailcowdockerized_redis-mailcow_1 ... Creating mailcowdockerized_watchdog-mailcow_1 ... Creating mailcowdockerized_redis-mailcow_1 ... error Creating mailcowdockerized_mysql-mailcow_1 ... error Creating mailcowdockerized_dovecot-mailcow_1 ... Creating mailcowdockerized_clamd-mailcow_1 ... Creating mailcowdockerized_sogo-mailcow_1 ... Creating mailcowdockerized_watchdog-mailcow_1 ... error Creating mailcowdockerized_unbound-mailcow_1 ... Creating mailcowdockerized_memcached-mailcow_1 ... done

ERROR: for mailcowdockerized_mysql-mailcow_1 Cannot create container for service mysql-mailcow: open /var/lib/docker/volumes/mailcowdockerized_mysql-vol-1/_data: no such file or directory

Creating mailcowdockerized_postfix-mailcow_1 ... error Creating mailcowdockerized_dovecot-mailcow_1 ... error ERROR: for mailcowdockerized_postfix-mailcow_1 Cannot create container for service postfix-mailcow: open /var/lib/docker/volumes/mailcowdockerized_postfix-vol-1/_data: no such file or directory Creating mailcowdockerized_dockerapi-mailcow_1 ... done Creating mailcowdockerized_ipv6nat_1 ... done er init caused \"rootfs_linux.go:58: mounting \\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\" to rootfs \\"/var/lib/docker/overlay2/81d9d00fb80d7f0d60699af129388a0737274628b68105e5b0Creating mailcowdockerized_clamd-mailcow_1 ... done Creating mailcowdockerized_sogo-mailcow_1 ... done ERROR: for mailcowdockerized_dovecot-mailcow_1 Cannot start service dovecot-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: containerCreating mailcowdockerized_unbound-mailcow_1 ... done a6698e2c1a99/merged\\" at \\"/rspamd-sock\\" caused \\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\"\"": unknown

ERROR: for mysql-mailcow Cannot create container for service mysql-mailcow: open /var/lib/docker/volumes/mailcowdockerized_mysql-vol-1/_data: no such file or directory

ERROR: for redis-mailcow Cannot create container for service redis-mailcow: open /var/lib/docker/volumes/mailcowdockerized_redis-vol-1/_data: no such file or directory

ERROR: for postfix-mailcow Cannot create container for service postfix-mailcow: open /var/lib/docker/volumes/mailcowdockerized_postfix-vol-1/_data: no such file or directory

ERROR: for watchdog-mailcow Cannot start service watchdog-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\" to rootfs \\"/var/lib/docker/overlay2/81d9d00fb80d7f0d60699af129388a0737274628b68105e5b0cb1b4c21b1ae91/merged\\" at \\"/rspamd-sock\\" caused \\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\"\"": unknown

ERROR: for dovecot-mailcow Cannot start service dovecot-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\"/var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data\\" to rootfs \\"/var/lib/docker/overlay2/a921417ec92afc291fdb583628bbf273d4696f0e64e64d935e2ea6698e2c1a99/merged\\" at \\"/rspamd-sock\\" caused \\"stat /var/lib/docker/volumes/mailcowdockerized_rspamd-sock/_data: no such file or directory\\"\"": unknown ERROR: Encountered errors while bringing up the project. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Limbolindi commented 6 years ago

dind't delete anything. but yeah reinstalling docker did help :) THX