muwahhid Posted November 11, 2020 Share Posted November 11, 2020 (edited) How do I display the :z, :Z, :ro,Z flag in the container template? That's in my compose settings. mysql-mailcow: image: mariadb:10.4 depends_on: - unbound-mailcow stop_grace_period: 45s volumes: - mysql-vol-1:/var/lib/mysql/:Z - mysql-socket-vol-1:/var/run/mysqld/:z - ./data/conf/mysql/:/etc/mysql/conf.d/:ro,Z Edited November 11, 2020 by muwahhid Quote Link to comment
Squid Posted November 11, 2020 Share Posted November 11, 2020 Set the template up as normal. After it's all done, edit the file /config/plugins/dockerMan/templates-user/my-mailcow.xml on the flash drive and at the bottom will be a section of all the <Config entries Find the appropriate line and edit it to reflect the "z" or "Z" flag in the mode <Config ... Mode="rw,z" .. Quote Link to comment
muwahhid Posted November 11, 2020 Author Share Posted November 11, 2020 3 hours ago, Squid said: Set the template up as normal. After it's all done, edit the file /config/plugins/dockerMan/templates-user/my-mailcow.xml on the flash drive and at the bottom will be a section of all the <Config entries Find the appropriate line and edit it to reflect the "z" or "Z" flag in the mode <Config ... Mode="rw,z" .. thank you Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.