flag z: and Z: in Docker container template


muwahhid

Recommended Posts

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 by muwahhid
Link to comment

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" ..

 

Link to comment
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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.